![]() |
Rosetta
2021.16
|
#include <Region.hh>

Public Member Functions | |
| ~Region () override | |
| Automatically generated virtual destructor for class deriving directly from VirtualBase. More... | |
| Region (core::Size start_pos, core::Size stop_pos) | |
| Creates a new region with the specified start/stop residues. More... | |
| core::Size | start () const |
| Returns the starting position of this region O(1) More... | |
| core::Size | stop () const |
| Returns the stopping position of this region O(1) More... | |
| core::Size | length () const |
| Returns the length of this region. Makes no assumption about directionality. That is, Region(3,5).length() == Region(5,3).length(). O(1) More... | |
| bool | increasing () const |
| Returns true if start <= stop, false otherwise. More... | |
| bool | decreasing () const |
| Returns true if stop <= start, false otherwise. More... | |
Private Types | |
| typedef core::Size | Size |
Private Attributes | |
| core::Size | start_ |
| The starting position of the contiguous sequence. More... | |
| core::Size | stop_ |
| The ending position of the contiguous sequence. More... | |
|
private |
|
overridedefault |
Automatically generated virtual destructor for class deriving directly from VirtualBase.
Auto-generated virtual destructor
| protocols::nonlocal::Region::Region | ( | core::Size | start_pos, |
| core::Size | stop_pos | ||
| ) |
Creates a new region with the specified start/stop residues.
| bool protocols::nonlocal::Region::decreasing | ( | ) | const |
| bool protocols::nonlocal::Region::increasing | ( | ) | const |
| core::Size protocols::nonlocal::Region::length | ( | ) | const |
Returns the length of this region. Makes no assumption about directionality. That is, Region(3,5).length() == Region(5,3).length(). O(1)
References increasing(), start(), and stop().
| core::Size protocols::nonlocal::Region::start | ( | ) | const |
Returns the starting position of this region O(1)
References start_.
Referenced by decreasing(), increasing(), and length().
| core::Size protocols::nonlocal::Region::stop | ( | ) | const |
Returns the stopping position of this region O(1)
References stop_.
Referenced by decreasing(), increasing(), and length().
|
private |
The starting position of the contiguous sequence.
Referenced by start().
|
private |
The ending position of the contiguous sequence.
Referenced by stop().
1.8.7