Rosetta
3.8
|
Anchor class provides for the "anchor" part of a scaffold in anchored interface design. More...
#include <Anchor.hh>
Public Member Functions | |
Anchor () | |
default ctor uses option system to set anchorfile; can't set start and end until a pose is available More... | |
Anchor (core::Size const start, core::Size const end) | |
input constructor for arbitrary anchor, if you know resids; ignores anchorfile datum More... | |
Anchor (core::pose::Pose const &pose, std::string const &filename) | |
input constructor from pose and anchorfile More... | |
Anchor (core::pose::Pose const &pose) | |
input constructor from pose, assumes anchorfile More... | |
~Anchor () override | |
Anchor (Anchor const &rhs) | |
copy ctor More... | |
Anchor & | operator= (Anchor const &rhs) |
assignment operator More... | |
void | read_anchorfile (core::pose::Pose const &pose, std::string const &filename) |
method to read an anchor file. Pose is necessary to reference against More... | |
void | read_anchorfile (core::pose::Pose const &pose) |
method to read an anchor file. Pose is necessary to reference against. Checks internal data for filename. More... | |
core::Size | start () const |
returns start of anchor (as pose resid) More... | |
core::Size | end () const |
returns end of anchor (as pose resid) More... | |
void | set_filename (std::string const &filename) |
setter for filename for anchorfile More... | |
std::string const & | get_filename () const |
getter for filename for anchorfile More... | |
void | read_options () |
read option system into internal data More... | |
Private Attributes | |
core::Size | start_ |
start in pose resid terms More... | |
core::Size | end_ |
end in pose resid terms More... | |
std::string | anchorfile_ |
filename source for anchorfile More... | |
Anchor class provides for the "anchor" part of a scaffold in anchored interface design.
Anchor class implements the code to read in an anchor file, stores the definition of the anchor, and provides access methods for setting move maps. It reads in PDB-keyed information, but converts it to pose resid information and internally stores only the latter.
protocols::anchored_design::Anchor::Anchor | ( | ) |
default ctor uses option system to set anchorfile; can't set start and end until a pose is available
protocols::anchored_design::Anchor::Anchor | ( | core::Size const | start, |
core::Size const | end | ||
) |
input constructor for arbitrary anchor, if you know resids; ignores anchorfile datum
protocols::anchored_design::Anchor::Anchor | ( | core::pose::Pose const & | pose, |
std::string const & | filename | ||
) |
input constructor from pose and anchorfile
References read_anchorfile().
protocols::anchored_design::Anchor::Anchor | ( | core::pose::Pose const & | pose | ) |
input constructor from pose, assumes anchorfile
References read_anchorfile(), and read_options().
|
overridedefault |
virtual destructors make c++ happy
protocols::anchored_design::Anchor::Anchor | ( | Anchor const & | rhs | ) |
copy ctor
|
inline |
std::string const & protocols::anchored_design::Anchor::get_filename | ( | ) | const |
getter for filename for anchorfile
Referenced by operator=().
assignment operator
References anchorfile_, end(), end_, get_filename(), start(), and start_.
void protocols::anchored_design::Anchor::read_anchorfile | ( | core::pose::Pose const & | pose, |
std::string const & | filename | ||
) |
method to read an anchor file. Pose is necessary to reference against
read_anchorfile reads in an anchor file (formatted as whitespace-delineated PDB-relevant start end chain information). It queries the pose('s members) for the mapping from PDB numbers to pose resids.
References core::pose::Pose::pdb_info().
Referenced by Anchor().
void protocols::anchored_design::Anchor::read_anchorfile | ( | core::pose::Pose const & | pose | ) |
method to read an anchor file. Pose is necessary to reference against. Checks internal data for filename.
read_anchorfile from internally stored anchorfile (from the option system)
void protocols::anchored_design::Anchor::read_options | ( | ) |
read option system into internal data
Referenced by Anchor().
void protocols::anchored_design::Anchor::set_filename | ( | std::string const & | filename | ) |
setter for filename for anchorfile
References protocols::abinitio::filename().
|
inline |
|
private |
filename source for anchorfile
Referenced by operator=().
|
private |
end in pose resid terms
Referenced by end(), and operator=().
|
private |
start in pose resid terms
Referenced by operator=(), and start().