MDA
|
Class to store several Architectures. More...
#include <DomainArchitecture.hpp>
Public Member Functions | |
void | collapse_repeats () |
Collapses all repeated domains in each architecture into a single domains. | |
Constructors & Destructors | |
DomainArchitectureSet () | |
Constructor. | |
~DomainArchitectureSet () | |
Destructor. | |
Operators | |
DomainArchitecture & | operator[] (unsigned int index) |
Accesses a DomainArchitecture. More... | |
const DomainArchitecture & | operator[] (unsigned int index) const |
Basic functions | |
void | push_back (const DomainArchitecture &archi) |
Adds a domain architecture to the set. More... | |
size_t | size () const |
Returns the number of architectures. More... | |
size_t | max_length () const |
void | sort (const std::string stort_type="gap_pattern") |
Friends | |
std::ostream & | operator<< (std::ostream &out, const DomainArchitectureSet &archi) |
Prints the domain architecture set. More... | |
Class to store several Architectures.
|
inline |
Accesses a DomainArchitecture.
index | The index of the architecture. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
Adds a domain architecture to the set.
archi | The domain architecture. |
|
inline |
Returns the number of architectures.
void MDAT::DomainArchitectureSet::sort | ( | const std::string | stort_type = "gap_pattern" | ) |
Sorts the DomainArchitecture set.
stort_type | The way to sort the sequences. |
|
friend |
Prints the domain architecture set.
out | The output stream. |
archi | The architecture set. |