Rosetta
|
a class which represents a residue index as a reference-pose enabled information. More...
#include <ResidueIndexDescription.hh>
Public Member Functions | |
ResidueIndexDescriptionRefPose (std::string const &refpose_name, core::Size refpose_number, signed long refpose_offset) | |
ResidueIndexDescriptionRefPose (RID_SourceCOP source, std::string const &refpose_name, core::Size refpose_number, signed long refpose_offset) | |
~ResidueIndexDescriptionRefPose () override | |
std::string const & | refpose_name () const |
core::Size | refpose_number () const |
signed long | refpose_offset () const |
Size | resolve_index (core::pose::Pose const &p, bool no_error=false) const override |
Turn the internal data into a pose index (in the range from 1 to total residue) If it can't be converted, throw an exception, unless no_error is true. If no_error is true, return 0 or a residue number outside the pose range. More... | |
void | show (std::ostream &) const override |
Output a description of the residue. More... | |
![]() | |
ResidueIndexDescription () | |
ResidueIndexDescription (RID_SourceCOP source) | |
~ResidueIndexDescription () override | |
RID_SourceCOP | get_source () const |
Private Attributes | |
std::string | refpose_name_ |
core::Size | refpose_number_ |
signed long | refpose_offset_ |
Additional Inherited Members | |
![]() | |
std::string | source_string () const |
Provide a formatted string representing the source of the information (if any) More... | |
core::Size | do_error (bool no_error, std::string const &msg) const |
Convenience function for triggering error conditions. More... | |
a class which represents a residue index as a reference-pose enabled information.
|
inline |
|
inline |
|
overridedefault |
|
inline |
References refpose_name_.
|
inline |
References refpose_number_.
|
inline |
References refpose_offset_.
|
overridevirtual |
Turn the internal data into a pose index (in the range from 1 to total residue) If it can't be converted, throw an exception, unless no_error is true. If no_error is true, return 0 or a residue number outside the pose range.
Implements core::pose::ResidueIndexDescription.
References core::pose::get_resnumber_from_reference_pose(), refpose_name_, refpose_number_, and refpose_offset_.
|
overridevirtual |
Output a description of the residue.
In general will give a form which can be added "in-line" (no line ending)
Implements core::pose::ResidueIndexDescription.
References core::conformation::membrane::out, refpose_name_, refpose_number_, and refpose_offset_.
|
private |
Referenced by refpose_name(), resolve_index(), and show().
|
private |
Referenced by refpose_number(), resolve_index(), and show().
|
private |
Referenced by refpose_offset(), resolve_index(), and show().