OpenStructure
|
#include <sequence_list.hh>
Public Types | |
typedef impl::SequenceListIterator < SequenceHandle, impl::SequenceImplListIterator > | Iterator |
typedef Iterator | iterator |
Public Member Functions | |
SequenceList () | |
void | AddSequence (const SequenceHandle &sequence) |
bool | SequencesHaveEqualLength () const |
int | GetCount () const |
SequenceHandle | operator[] (int index) const |
Iterator | Begin () const |
Iterator | End () const |
SequenceList | Take (int n) const |
SequenceList | Slice (int first, int n) const |
Iterator | begin () const |
Iterator | end () const |
bool | IsValid () const |
int | GetMinLength () const |
int | GetMaxLength () const |
impl::SequenceListImplPtr & | Impl () const |
SequenceList (const impl::SequenceListImplPtr &impl) | |
operator ConstSequenceList () const |
Protected Member Functions | |
void | CheckValidity () const |
Protected Attributes | |
impl::SequenceListImplPtr | impl_ |
list of sequences.
The sequence list is reference counted and thus very cheap to pass around.
Definition at line 78 of file sequence_list.hh.
Definition at line 82 of file sequence_list.hh.
Definition at line 83 of file sequence_list.hh.
SequenceList | ( | ) |
SequenceList | ( | const impl::SequenceListImplPtr & | impl | ) |
void AddSequence | ( | const SequenceHandle & | sequence | ) |
Iterator Begin | ( | ) | const |
|
inline |
Definition at line 102 of file sequence_list.hh.
|
protected |
Iterator End | ( | ) | const |
|
inline |
Definition at line 103 of file sequence_list.hh.
int GetCount | ( | ) | const |
int GetMaxLength | ( | ) | const |
int GetMinLength | ( | ) | const |
impl::SequenceListImplPtr& Impl | ( | ) | const |
bool IsValid | ( | ) | const |
operator ConstSequenceList | ( | ) | const |
SequenceHandle operator[] | ( | int | index | ) | const |
bool SequencesHaveEqualLength | ( | ) | const |
SequenceList Slice | ( | int | first, |
int | n | ||
) | const |
create a sequence list from the given splice interval
SequenceList Take | ( | int | n | ) | const |
create a sequence list consisting of n first sequences
if n is negative, the sequences taken from the end of the list
|
mutableprotected |
Definition at line 118 of file sequence_list.hh.