Rosetta 3.5
 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]
Collaboration diagram for protocols::anchored_design::Anchor:
Collaboration 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...
 
virtual ~Anchor ()
 
 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.

Definition at line 38 of file Anchor.hh.

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

Definition at line 55 of file Anchor.cc.

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

Definition at line 62 of file Anchor.cc.

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

input constructor from pose and anchorfile

Definition at line 69 of file Anchor.cc.

References read_anchorfile().

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

input constructor from pose, assumes anchorfile

Definition at line 78 of file Anchor.cc.

References read_anchorfile(), and read_options().

protocols::anchored_design::Anchor::~Anchor ( )
virtual

virtual destructors make c++ happy

Definition at line 88 of file Anchor.cc.

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

copy ctor

Definition at line 91 of file Anchor.cc.

Member Function Documentation

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

returns end of anchor (as pose resid)

Definition at line 71 of file Anchor.hh.

References end_.

Referenced by operator=().

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

getter for filename for anchorfile

Definition at line 160 of file Anchor.cc.

Referenced by operator=().

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

assignment operator

Definition at line 98 of file Anchor.cc.

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.

Definition at line 117 of file Anchor.cc.

References core::pose::PDBPoseMap::find(), and 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)

Definition at line 110 of file Anchor.cc.

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

read option system into internal data

Definition at line 163 of file Anchor.cc.

Referenced by Anchor().

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

setter for filename for anchorfile

Definition at line 157 of file Anchor.cc.

References protocols::abinitio::filename().

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

returns start of anchor (as pose resid)

Definition at line 69 of file Anchor.hh.

References start_.

Referenced by operator=().

Member Data Documentation

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

filename source for anchorfile

Definition at line 89 of file Anchor.hh.

Referenced by operator=().

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

end in pose resid terms

Definition at line 87 of file Anchor.hh.

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

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

start in pose resid terms

Definition at line 85 of file Anchor.hh.

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


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