Rosetta 3.5
 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]
Collaboration diagram for core::sequence::AnnotatedSequence:
Collaboration 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
 

Private Types

typedef utility::vector1
< core::Size
PositionMap
 

Private Member Functions

void calculate_map () const
 

Private Attributes

PositionMap pos_map_
 
bool map_is_clean_
 

Detailed Description

Definition at line 32 of file AnnotatedSequence.hh.

Member Typedef Documentation

Definition at line 58 of file AnnotatedSequence.hh.

Constructor & Destructor Documentation

core::sequence::AnnotatedSequence::AnnotatedSequence ( )

Definition at line 28 of file AnnotatedSequence.cc.

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

Definition at line 32 of file AnnotatedSequence.cc.

core::sequence::AnnotatedSequence::AnnotatedSequence ( AnnotatedSequence const &  other)

Definition at line 37 of file AnnotatedSequence.cc.

Member Function Documentation

core::chemical::AA core::sequence::AnnotatedSequence::aa ( core::Size  seqpos) const

Definition at line 92 of file AnnotatedSequence.cc.

References core::chemical::aa_from_oneletter_code(), and one_letter().

void core::sequence::AnnotatedSequence::calculate_map ( ) const
private

Definition at line 120 of file AnnotatedSequence.cc.

References core::pack::dunbrack::c, map_is_clean_, and pos_map_.

Referenced by is_patched(), one_letter(), and patch_str().

bool core::sequence::AnnotatedSequence::is_patched ( core::Size  seqpos) const

Definition at line 57 of file AnnotatedSequence.cc.

References calculate_map(), map_is_clean_, and pos_map_.

char core::sequence::AnnotatedSequence::one_letter ( core::Size  seqpos) const

Definition at line 84 of file AnnotatedSequence.cc.

References calculate_map(), map_is_clean_, and pos_map_.

Referenced by aa(), and core::io::silent::SilentStruct::detect_fullatom().

std::string core::sequence::AnnotatedSequence::one_letter_sequence ( ) const
void core::sequence::AnnotatedSequence::operator= ( std::string const &  other)

Definition at line 51 of file AnnotatedSequence.cc.

References map_is_clean_.

AnnotatedSequence & core::sequence::AnnotatedSequence::operator= ( AnnotatedSequence const &  other)

Definition at line 43 of file AnnotatedSequence.cc.

References map_is_clean_, and pos_map_.

std::string core::sequence::AnnotatedSequence::patch_str ( core::Size  seqpos) const

Definition at line 69 of file AnnotatedSequence.cc.

References calculate_map(), map_is_clean_, and pos_map_.

Member Data Documentation

bool core::sequence::AnnotatedSequence::map_is_clean_
mutableprivate

Definition at line 61 of file AnnotatedSequence.hh.

Referenced by calculate_map(), is_patched(), one_letter(), operator=(), and patch_str().

PositionMap core::sequence::AnnotatedSequence::pos_map_
mutableprivate

Definition at line 60 of file AnnotatedSequence.hh.

Referenced by calculate_map(), is_patched(), one_letter(), operator=(), and patch_str().


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