Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
core::fragment::SecstructSRFD Class Reference

#include <SecstructSRFD.hh>

Inheritance diagram for core::fragment::SecstructSRFD:
Inheritance graph
[legend]

Public Member Functions

 SecstructSRFD (char secstruct= 'X', char sequence= 'X')
 
SingleResidueFragDataOP clone () const override
 
SingleResidueFragDataOP create () const override
 create a new instance of this object More...
 
char secstruct () const override
 get secstruct for this position More...
 
void set_secstruct (char const ss)
 
bool apply (pose::Pose &, Size seq_pos) const override
 insert fragment_data into pose at position seq_pos More...
 
bool apply (kinematics::MoveMap const &, pose::Pose &pose, Size const seqpos) const override
 apply secondary structure fragment data to the pose, movemap has no effect More...
 
bool apply_ss (std::string &, Size seq_pos) const override
 insert fragment_data sec-struct into ss-string at position seq_pos More...
 
bool steal (pose::Pose const &, Size seq_pos) override
 insert fragment_data into pose at position seq_pos More...
 
bool is_compatible (SingleResidueFragData const &) const override
 check weather SRFD applies to same dofs and is of same type More...
 
bool is_applicable (kinematics::MoveMap const &, Size seq_pos) const override
 check whether dofs can be moved More...
 
void show (std::ostream &out) const override
 
void read_data (std::istream &in) override
 Default implementation: noop. More...
 
std::string type () const override
 
- Public Member Functions inherited from core::fragment::SingleResidueFragData
 ~SingleResidueFragData () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
 SingleResidueFragData (char sequence)
 
 SingleResidueFragData ()
 
virtual bool apply (pose::Pose &, Size const intra_frame_pos, Frame const &) const
 insert fragment_data into pose at position given by Frame.seqpos( intra_frame_pos ); More...
 
virtual bool apply (kinematics::MoveMap const &movemap, pose::Pose &pose, Size const intra_frame_pos, Frame const &frame) const
 insert fragment_data into pose at position given by Frame.seqpos( intra_frame_pos ) for dofs that are allowed to move in the MoveMap More...
 
virtual bool apply_ss (std::string &, Size intra_frame_pos, Frame const &) const
 insert fragment_data sec-struct into ss-string at position seq_pos More...
 
virtual bool steal (pose::Pose const &, Size intra_frame_pos, Frame const &)
 insert fragment_data into pose at position seq_pos More...
 
virtual bool is_applicable (kinematics::MoveMap const &, Size intra_frame_pos, Frame const &) const
 check weather dofs can be moved More...
 
void set_sequence (char const sequence)
 
char sequence () const
 

Static Public Member Functions

static std::string _static_type_name ()
 
- Static Public Member Functions inherited from core::fragment::SingleResidueFragData
static std::string _static_type_name ()
 

Private Types

typedef SingleResidueFragData Parent
 

Private Attributes

char secstruct_
 

Additional Inherited Members

- Protected Attributes inherited from core::fragment::SingleResidueFragData
char sequence_
 

Member Typedef Documentation

Constructor & Destructor Documentation

core::fragment::SecstructSRFD::SecstructSRFD ( char  secstruct = 'X',
char  sequence = 'X' 
)
inline

Member Function Documentation

static std::string core::fragment::SecstructSRFD::_static_type_name ( )
inlinestatic
bool core::fragment::SecstructSRFD::apply ( pose::Pose ,
Size  seq_pos 
) const
overridevirtual
bool core::fragment::SecstructSRFD::apply ( kinematics::MoveMap const &  ,
pose::Pose pose,
Size const  seqpos 
) const
overridevirtual

apply secondary structure fragment data to the pose, movemap has no effect

Remarks
In this version of apply(), by convention MoveMap has no effect because a setting for sec.struct currently does not exist within the map.
Returns
always true

Implements core::fragment::SingleResidueFragData.

References secstruct(), and core::pose::Pose::set_secstruct().

bool core::fragment::SecstructSRFD::apply_ss ( std::string &  ,
Size  seq_pos 
) const
overridevirtual

insert fragment_data sec-struct into ss-string at position seq_pos

Implements core::fragment::SingleResidueFragData.

References secstruct().

SingleResidueFragDataOP core::fragment::SecstructSRFD::clone ( ) const
inlineoverridevirtual
SingleResidueFragDataOP core::fragment::SecstructSRFD::create ( ) const
inlineoverridevirtual

create a new instance of this object

Implements core::fragment::SingleResidueFragData.

bool core::fragment::SecstructSRFD::is_applicable ( kinematics::MoveMap const &  ,
Size  pos 
) const
overridevirtual
bool core::fragment::SecstructSRFD::is_compatible ( SingleResidueFragData const &  ) const
overridevirtual

check weather SRFD applies to same dofs and is of same type

Implements core::fragment::SingleResidueFragData.

void core::fragment::SecstructSRFD::read_data ( std::istream &  )
overridevirtual
char core::fragment::SecstructSRFD::secstruct ( ) const
inlineoverridevirtual

get secstruct for this position

Reimplemented from core::fragment::SingleResidueFragData.

References secstruct_.

Referenced by apply(), apply_ss(), and show().

void core::fragment::SecstructSRFD::set_secstruct ( char const  ss)
inline

References secstruct_.

void core::fragment::SecstructSRFD::show ( std::ostream &  out) const
overridevirtual
bool core::fragment::SecstructSRFD::steal ( pose::Pose const &  pose,
Size  seq_pos 
)
overridevirtual
std::string core::fragment::SecstructSRFD::type ( ) const
inlineoverridevirtual

Member Data Documentation

char core::fragment::SecstructSRFD::secstruct_
private

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