Rosetta
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
core::environment::SequenceAnnotation Class Reference

#include <SequenceAnnotation.hh>

Inheritance diagram for core::environment::SequenceAnnotation:
Inheritance graph
[legend]

Public Member Functions

 SequenceAnnotation (core::Size length)
 
 ~SequenceAnnotation () override=default
 
void add_seq_label (std::string const &, std::vector< core::Size > const &)
 
void add_seq_label (std::string const &, utility::vector1< core::Size > const &)
 
void add_jump_label (std::string const &, core::Size)
 
void rm_seq_label (std::string const &)
 
void append_seq (std::string const &label)
 append a single residue with the given label to the end of the Annotation More...
 
core::Size resolve_seq (LocalPosition const &) const
 
utility::vector1< core::Size > const & resolve_seq (std::string const &label) const
 
core::Size resolve_jump (std::string const &label) const
 
core::Size const & length () const
 
core::Size length (std::string const &label) const
 
bool has_seq_label (std::string const &) const
 

Private Types

typedef utility::vector1< std::map< std::string, core::Size > > NumMap
 
typedef std::map< std::string, utility::vector1< core::Size > > SeqLabelMap
 
typedef std::map< std::string, core::SizeJumpLabelMap
 

Private Member Functions

void _add_seq_label (std::string const &, utility::vector1< core::Size >)
 

Private Attributes

core::Size length_
 
NumMap pose_to_local_numbers_
 
SeqLabelMap label_to_pose_numbers_
 
JumpLabelMap jump_label_to_number_
 

Member Typedef Documentation

◆ JumpLabelMap

typedef std::map< std::string, core::Size > core::environment::SequenceAnnotation::JumpLabelMap
private

◆ NumMap

typedef utility::vector1< std::map< std::string, core::Size> > core::environment::SequenceAnnotation::NumMap
private

◆ SeqLabelMap

typedef std::map< std::string, utility::vector1< core::Size > > core::environment::SequenceAnnotation::SeqLabelMap
private

Constructor & Destructor Documentation

◆ SequenceAnnotation()

core::environment::SequenceAnnotation::SequenceAnnotation ( core::Size  length)

References _add_seq_label(), and length().

◆ ~SequenceAnnotation()

core::environment::SequenceAnnotation::~SequenceAnnotation ( )
overridedefault

Member Function Documentation

◆ _add_seq_label()

void core::environment::SequenceAnnotation::_add_seq_label ( std::string const &  ,
utility::vector1< core::Size  
)
private

◆ add_jump_label()

void core::environment::SequenceAnnotation::add_jump_label ( std::string const &  label,
core::Size  i 
)

References jump_label_to_number_.

◆ add_seq_label() [1/2]

void core::environment::SequenceAnnotation::add_seq_label ( std::string const &  label,
std::vector< core::Size > const &  members 
)

References _add_seq_label().

◆ add_seq_label() [2/2]

void core::environment::SequenceAnnotation::add_seq_label ( std::string const &  ,
utility::vector1< core::Size > const &   
)

◆ append_seq()

void core::environment::SequenceAnnotation::append_seq ( std::string const &  label)

append a single residue with the given label to the end of the Annotation

References label_to_pose_numbers_, length(), and length_.

◆ has_seq_label()

bool core::environment::SequenceAnnotation::has_seq_label ( std::string const &  label) const

◆ length() [1/2]

core::Size const& core::environment::SequenceAnnotation::length ( ) const
inline

References length_.

Referenced by append_seq(), and SequenceAnnotation().

◆ length() [2/2]

core::Size core::environment::SequenceAnnotation::length ( std::string const &  label) const

◆ resolve_jump()

core::Size core::environment::SequenceAnnotation::resolve_jump ( std::string const &  label) const

References jump_label_to_number_.

◆ resolve_seq() [1/2]

core::Size core::environment::SequenceAnnotation::resolve_seq ( LocalPosition const &  local) const

◆ resolve_seq() [2/2]

utility::vector1< core::Size > const & core::environment::SequenceAnnotation::resolve_seq ( std::string const &  label) const

◆ rm_seq_label()

void core::environment::SequenceAnnotation::rm_seq_label ( std::string const &  label)

Member Data Documentation

◆ jump_label_to_number_

JumpLabelMap core::environment::SequenceAnnotation::jump_label_to_number_
private

Referenced by add_jump_label(), and resolve_jump().

◆ label_to_pose_numbers_

SeqLabelMap core::environment::SequenceAnnotation::label_to_pose_numbers_
private

◆ length_

core::Size core::environment::SequenceAnnotation::length_
private

◆ pose_to_local_numbers_

NumMap core::environment::SequenceAnnotation::pose_to_local_numbers_
private

Referenced by _add_seq_label(), and rm_seq_label().


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