Rosetta
Public Member Functions | Private Attributes | List of all members
protocols::anchored_design::Anchor Class Reference

Anchor class provides for the "anchor" part of a scaffold in anchored interface design. More...

#include <Anchor.hh>

Inheritance diagram for protocols::anchored_design::Anchor:
Inheritance graph
[legend]

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...
 
Anchoroperator= (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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Anchor() [1/5]

protocols::anchored_design::Anchor::Anchor ( )

default ctor uses option system to set anchorfile; can't set start and end until a pose is available

◆ Anchor() [2/5]

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

◆ Anchor() [3/5]

protocols::anchored_design::Anchor::Anchor ( core::pose::Pose const &  pose,
std::string const &  filename 
)

input constructor from pose and anchorfile

References protocols::abinitio::filename(), and read_anchorfile().

◆ Anchor() [4/5]

protocols::anchored_design::Anchor::Anchor ( core::pose::Pose const &  pose)

input constructor from pose, assumes anchorfile

References read_anchorfile(), and read_options().

◆ ~Anchor()

protocols::anchored_design::Anchor::~Anchor ( )
overridedefault

virtual destructors make c++ happy

◆ Anchor() [5/5]

protocols::anchored_design::Anchor::Anchor ( Anchor const &  rhs)

copy ctor

Member Function Documentation

◆ end()

core::Size protocols::anchored_design::Anchor::end ( ) const
inline

returns end of anchor (as pose resid)

References end_.

Referenced by operator=().

◆ get_filename()

std::string const & protocols::anchored_design::Anchor::get_filename ( ) const

getter for filename for anchorfile

Referenced by operator=().

◆ operator=()

Anchor & protocols::anchored_design::Anchor::operator= ( Anchor const &  rhs)

assignment operator

References anchorfile_, end(), end_, get_filename(), start(), and start_.

◆ read_anchorfile() [1/2]

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)

◆ read_anchorfile() [2/2]

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 protocols::abinitio::filename(), core::pose::PDBPoseMap::find(), and core::pose::Pose::pdb_info().

Referenced by Anchor().

◆ read_options()

void protocols::anchored_design::Anchor::read_options ( )

read option system into internal data

Referenced by Anchor().

◆ set_filename()

void protocols::anchored_design::Anchor::set_filename ( std::string const &  filename)

setter for filename for anchorfile

References protocols::abinitio::filename().

◆ start()

core::Size protocols::anchored_design::Anchor::start ( ) const
inline

returns start of anchor (as pose resid)

References start_.

Referenced by operator=().

Member Data Documentation

◆ anchorfile_

std::string protocols::anchored_design::Anchor::anchorfile_
private

filename source for anchorfile

Referenced by operator=().

◆ end_

core::Size protocols::anchored_design::Anchor::end_
private

end in pose resid terms

Referenced by end(), and operator=().

◆ start_

core::Size protocols::anchored_design::Anchor::start_
private

start in pose resid terms

Referenced by operator=(), and start().


The documentation for this class was generated from the following files: