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

#include <AnnotatedSequence.hh>

Inheritance diagram for core::sequence::AnnotatedSequence:
Inheritance graph
[legend]

Public Member Functions

 AnnotatedSequence ()
 
 AnnotatedSequence (std::string const &)
 
 AnnotatedSequence (AnnotatedSequence const &other)
 
void operator= (std::string const &)
 
AnnotatedSequenceoperator= (AnnotatedSequence const &other)
 
bool is_patched (core::Size seqpos) const
 
std::string patch_str (core::Size seqpos) const
 
char one_letter (core::Size seqpos) const
 
core::chemical::AA aa (core::Size seqpos) const
 
std::string one_letter_sequence () const
 
core::Size length () const
 

Private Types

typedef utility::vector1
< core::Size
PositionMap
 

Private Member Functions

void calculate_map () const
 

Private Attributes

PositionMap pos_map_
 
bool map_is_clean_
 
std::string one_letter_sequence_
 
core::Size length_
 

Member Typedef Documentation

typedef utility::vector1< core::Size > core::sequence::AnnotatedSequence::PositionMap
private

Constructor & Destructor Documentation

core::sequence::AnnotatedSequence::AnnotatedSequence ( )
core::sequence::AnnotatedSequence::AnnotatedSequence ( std::string const &  str_in)
core::sequence::AnnotatedSequence::AnnotatedSequence ( AnnotatedSequence const &  other)
default

Member Function Documentation

core::chemical::AA core::sequence::AnnotatedSequence::aa ( core::Size  seqpos) const
void core::sequence::AnnotatedSequence::calculate_map ( ) const
private
bool core::sequence::AnnotatedSequence::is_patched ( core::Size  seqpos) const
core::Size core::sequence::AnnotatedSequence::length ( ) const
char core::sequence::AnnotatedSequence::one_letter ( core::Size  seqpos) const
std::string core::sequence::AnnotatedSequence::one_letter_sequence ( ) const
void core::sequence::AnnotatedSequence::operator= ( std::string const &  other)

References map_is_clean_.

AnnotatedSequence & core::sequence::AnnotatedSequence::operator= ( AnnotatedSequence const &  other)
std::string core::sequence::AnnotatedSequence::patch_str ( core::Size  seqpos) const

Member Data Documentation

core::Size core::sequence::AnnotatedSequence::length_
mutableprivate

Referenced by operator=().

bool core::sequence::AnnotatedSequence::map_is_clean_
mutableprivate
std::string core::sequence::AnnotatedSequence::one_letter_sequence_
mutableprivate
PositionMap core::sequence::AnnotatedSequence::pos_map_
mutableprivate

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