Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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().

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

virtual destructors make c++ happy

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

copy ctor

Member Function Documentation

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

returns end of anchor (as pose resid)

References end_.

Referenced by operator=().

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

getter for filename for anchorfile

Referenced by operator=().

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

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().

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

returns start of anchor (as pose resid)

References start_.

Referenced by operator=().

Member Data Documentation

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

filename source for anchorfile

Referenced by operator=().

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

end in pose resid terms

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

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: