![]() |
Rosetta
2020.11
|
This is quite possibly the laziest form of class naming ever. What does the name of this class tell you about it? It's a SequenceMapping, and it's derived from SequenceMapping. Oops, it said it twice. What is different about this sequence mapping from the parent class? Who knows! When should you use it? Who knows!</snark> More...
#include <DerivedSequenceMapping.hh>
Public Member Functions | |
DerivedSequenceMapping () | |
ctor More... | |
DerivedSequenceMapping (Size s1, Size s2) | |
ctor More... | |
~DerivedSequenceMapping () override | |
dtor More... | |
DerivedSequenceMapping (DerivedSequenceMapping const &src) | |
copy constructor More... | |
DerivedSequenceMapping & | operator= (DerivedSequenceMapping const &src) |
bool | operator== (SequenceMapping const &rhs) const override |
bool | same_type_as_me (SequenceMapping const &other) const override |
std::string & | seq1 () |
std::string & | seq2 () |
std::string const & | seq1 () const |
std::string const & | seq2 () const |
Size const & | start_seq2 () const |
void | seq1 (std::string const &s) |
void | seq2 (std::string const &s) |
void | start_seq2 (Size s) |
![]() | |
SequenceMapping () | |
ctor More... | |
SequenceMapping (Size const s1, Size const s2) | |
ctor More... | |
SequenceMapping (utility::vector1< Size > const &mapping) | |
ctor More... | |
SequenceMapping (conformation::signals::LengthEvent const &event) | |
convenience constructor from LengthEvent More... | |
~SequenceMapping () override | |
dtor More... | |
SequenceMapping (SequenceMapping const &src) | |
copy constructor More... | |
SequenceMapping & | operator= (SequenceMapping const &src) |
Size | get_corresponding_residue_in_current (Size original_resnum) const |
A->B; Get the corresponding (new) resnum (B) from the old (A). More... | |
Size | operator[] (Size const pos1) const |
A->B; Get a list of the old residues contained in this class (all A residues). More... | |
Size & | operator[] (Size const pos1) |
void | resize (Size const s1, Size const s2) |
resize More... | |
void | reverse () |
go from an A->B mapping to a B->A mapping More... | |
void | downstream_combine (core::id::SequenceMapping const &smap_to_add) |
Apply a B->C mapping to the current A->B mapping to get an A->C mapping i.e. smap[j] becomes smap_to_add[ smap[j] ]. More... | |
void | upstream_combine (core::id::SequenceMapping const &smap_to_add) |
Apply a C->A mapping to the current A->B mapping to get a C->B mapping i.e. smap[j] becomes smap[ smap_to_add[ j ] ]. More... | |
Size | size1 () const |
size of target sequence More... | |
Size | size2 () const |
size of aligned sequence ??? More... | |
void | set_offset (int setting) |
bool | all_aligned () const |
bool | is_identity () const |
bool | is_identity_ignore_gaps () const |
void | size2 (Size const s2) |
void | push_back (Size const al) |
void | delete_source_residue (Size const pos1) |
void | show () const |
void | show (std::ostream &output) const |
void | insert_source_residue (Size const pos1) |
void | insert_aligned_residue (Size const pos1, Size const pos2) |
void | insert_aligned_residue_safe (Size const pos1, Size const pos2) |
same as insert_aligned_residue, but a couple of extra checks on size1 and size2. More... | |
void | insert_target_residue (Size const pos) |
void | delete_target_residue (Size const pos) |
void | clear () |
virtual bool | operator== (SequenceMapping const &rhs) const |
Equality operator. More... | |
virtual bool | same_type_as_me (SequenceMapping const &other) const |
virtual function for ensuring both sequence mappings are the same type; essential for a valid equality operator. More... | |
utility::vector1< core::Size > const & | mapping () const |
void | mapping (utility::vector1< core::Size > const &mapping) |
std::string | to_string () const |
Private Attributes | |
std::string | seq1_ |
std::string | seq2_ |
Size | start_seq2_ |
Additional Inherited Members | |
![]() | |
static SequenceMapping | identity (Size const size) |
Construct an identity mapping, which means that for all positions, i in seq1 maps to i in seq2. More... | |
This is quite possibly the laziest form of class naming ever. What does the name of this class tell you about it? It's a SequenceMapping, and it's derived from SequenceMapping. Oops, it said it twice. What is different about this sequence mapping from the parent class? Who knows! When should you use it? Who knows!</snark>
|
inline |
ctor
|
overridedefault |
dtor
core::sequence::DerivedSequenceMapping::DerivedSequenceMapping | ( | DerivedSequenceMapping const & | src | ) |
copy constructor
DerivedSequenceMapping & core::sequence::DerivedSequenceMapping::operator= | ( | DerivedSequenceMapping const & | src | ) |
References core::id::SequenceMapping::mapping(), seq1(), seq1_, seq2(), seq2_, core::id::SequenceMapping::size2(), start_seq2(), and start_seq2_.
|
override |
References seq1_, seq2_, and start_seq2_.
|
override |
|
inline |
References seq1_.
Referenced by operator=(), protocols::abinitio::Template::query_sequence(), and core::sequence::simple_mapping_from_file().
|
inline |
References seq1_.
|
inline |
References seq1_.
|
inline |
References seq2_.
Referenced by operator=(), core::sequence::simple_mapping_from_file(), and protocols::abinitio::Template::Template().
|
inline |
References seq2_.
|
inline |
References seq2_.
|
inline |
References start_seq2_.
Referenced by operator=(), core::sequence::simple_mapping_from_file(), and protocols::abinitio::Template::Template().
|
inline |
References start_seq2_.
|
private |
Referenced by operator=(), operator==(), and seq1().
|
private |
Referenced by operator=(), operator==(), and seq2().
|
private |
Referenced by operator=(), operator==(), and start_seq2().