![]() |
Rosetta Protocols
2014.16.56682
|
#include <Region.hh>
Public Member Functions | |
| virtual | ~Region () |
| Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
| Region (Size start_pos, Size stop_pos) | |
| Creates a new region with the specified start/stop residues. More... | |
| Size | start () const |
| Returns the starting position of this region O(1) More... | |
| Size | stop () const |
| Returns the stopping position of this region O(1) More... | |
| 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 | |
| Size | start_ |
| The starting position of the contiguous sequence. More... | |
| Size | stop_ |
| The ending position of the contiguous sequence. More... | |
|
virtual |
Automatically generated virtual destructor for class deriving directly from ReferenceCount.
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