|
libsequence
1.9.5
|
#include <phylipData.hpp>
Public Types | |
| typedef std::vector< T >::size_type | size_type |
| typedef std::vector< T >::reference | reference |
| typedef std::vector< T >::const_reference | const_reference |
| typedef std::vector< T >::iterator | iterator |
| typedef std::vector< T >::const_iterator | const_iterator |
Public Member Functions | |
| phylipData (const std::vector< T > &_data) | |
| phylipData (const AlignStream< T > &a) | |
| phylipData (const phylipData< T > &a) | |
| phylipData (AlignStream< T > &&a) | |
| phylipData (phylipData< T > &&a) | |
| phylipData (std::vector< T > &&a) | |
| std::istream & | read (std::istream &s) |
| std::ostream & | print (std::ostream &s) const |
| phylipData< T > & | operator= (const AlignStream< T > &rhs) |
| bool | empty () const |
| size_type | size (void) const |
| reference | operator[] (const size_type &i) |
| const_reference | operator[] (const size_type &i) const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| bool | IsAlignment (void) |
| bool | Gapped (void) |
| unsigned | UnGappedLength (void) |
| void | RemoveGaps (void) |
| void | RemoveTerminalGaps (void) |
| std::vector< T > | Trim (std::vector< int >sites) |
| std::vector< T > | TrimComplement (std::vector< int >sites) |
| const std::vector< T > | Data (void) |
| void | assign (const_iterator beg, const_iterator end) |
| void | assign (std::vector< T > &&_data) |
Input of phylip-format alignments
Definition at line 36 of file phylipData.hpp.
|
inherited |
value type is std::vector<T>::const_iterator
Definition at line 124 of file AlignStream.hpp.
|
inherited |
value type is std::vector<T>::iterator
Definition at line 120 of file AlignStream.hpp.
|
inherited |
Assign data to object. Since the value type for these iterators evaluates to std::vector<T>::const_iterator, any vector<T> can be the data source
| std::runtime_error | is thrown if all data elements in the range (beg,end] are not of the same length |
|
inherited |
Assign via a move operation
| std::runtime_error | is thrown if all data elements are not of the same length |
|
inlineinherited |
Returns data.empty()
Definition at line 85 of file AlignStream.hpp.
|
inlineinherited |
Returns the i-th object of type T in the vector data
Definition at line 101 of file AlignStream.hpp.
|
inlineinherited |
Returns the i-th object of type T in the vector data
Definition at line 109 of file AlignStream.hpp.
|
virtual |
To define a non-abstract AlignStream, print must be defined
Implements Sequence::AlignStream< T >.
|
virtual |
To define a non-abstract AlignStream, read must be defined
Implements Sequence::AlignStream< T >.
|
inlineinherited |
Returns data.size()
Definition at line 93 of file AlignStream.hpp.