bpp-seq3  3.0.0
bpp::AbstractSequenceContainerIterator Class Referenceabstract

Partial implementation of the SequenceIterator interface, allowing to loop over an ordered sequence container. More...

#include <Bpp/Seq/Container/SequenceContainerIterator.h>

+ Inheritance diagram for bpp::AbstractSequenceContainerIterator:
+ Collaboration diagram for bpp::AbstractSequenceContainerIterator:

Public Member Functions

 AbstractSequenceContainerIterator (const OrderedSequenceContainer &sites)
 
 AbstractSequenceContainerIterator (const AbstractSequenceContainerIterator &asi)
 
AbstractSequenceContainerIteratoroperator= (const AbstractSequenceContainerIterator &asi)
 
virtual ~AbstractSequenceContainerIterator ()
 
virtual const IntCoreSequenceSymbolListnextSequence ()=0
 
virtual bool hasMoreSequences () const =0
 

Protected Attributes

const OrderedSequenceContainersequences_
 
size_t currentPosition_
 

Detailed Description

Partial implementation of the SequenceIterator interface, allowing to loop over an ordered sequence container.

Definition at line 54 of file SequenceContainerIterator.h.

Constructor & Destructor Documentation

◆ AbstractSequenceContainerIterator() [1/2]

AbstractSequenceContainerIterator::AbstractSequenceContainerIterator ( const OrderedSequenceContainer sites)

Definition at line 53 of file SequenceContainerIterator.cpp.

◆ AbstractSequenceContainerIterator() [2/2]

bpp::AbstractSequenceContainerIterator::AbstractSequenceContainerIterator ( const AbstractSequenceContainerIterator asi)
inline

Definition at line 64 of file SequenceContainerIterator.h.

◆ ~AbstractSequenceContainerIterator()

virtual bpp::AbstractSequenceContainerIterator::~AbstractSequenceContainerIterator ( )
inlinevirtual

Definition at line 76 of file SequenceContainerIterator.h.

Member Function Documentation

◆ hasMoreSequences()

virtual bool bpp::ConstSequenceIterator::hasMoreSequences ( ) const
pure virtualinherited

◆ nextSequence()

virtual const IntCoreSequenceSymbolList* bpp::ConstSequenceIterator::nextSequence ( )
pure virtualinherited

◆ operator=()

AbstractSequenceContainerIterator& bpp::AbstractSequenceContainerIterator::operator= ( const AbstractSequenceContainerIterator asi)
inline

Definition at line 69 of file SequenceContainerIterator.h.

References currentPosition_, and sequences_.

Member Data Documentation

◆ currentPosition_

size_t bpp::AbstractSequenceContainerIterator::currentPosition_
protected

◆ sequences_

const OrderedSequenceContainer* bpp::AbstractSequenceContainerIterator::sequences_
protected

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