bpp-seq3
3.0.0
|
Loop over all sites in a SiteContainer. More...
#include <Bpp/Seq/Container/SiteContainerIterator.h>
Public Member Functions | |
SimpleTemplateSiteContainerIterator (const TemplateSiteContainerInterface< SiteType, SequenceType, HashType > &sites) | |
virtual | ~SimpleTemplateSiteContainerIterator () |
const SiteType & | nextSite () override |
bool | hasMoreSites () const override |
Protected Attributes | |
const TemplateSiteContainerInterface< SiteType, SequenceType, HashType > * | sites_ |
long int | currentPosition_ |
Loop over all sites in a SiteContainer.
Definition at line 56 of file SiteContainerIterator.h.
|
inline |
Definition at line 64 of file SiteContainerIterator.h.
|
inlinevirtual |
Definition at line 69 of file SiteContainerIterator.h.
|
inlineoverridevirtual |
Implements bpp::TemplateSiteIteratorInterface< const SiteType >.
Definition at line 79 of file SiteContainerIterator.h.
References bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::currentPosition_, and bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::sites_.
Referenced by bpp::SiteContainerTools::getConsensus().
|
inlineoverridevirtual |
Implements bpp::TemplateSiteIteratorInterface< const SiteType >.
Definition at line 72 of file SiteContainerIterator.h.
References bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::currentPosition_, and bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::sites_.
Referenced by bpp::SiteContainerTools::getConsensus().
|
protectedinherited |
Definition at line 24 of file SiteContainerIterator.h.
Referenced by bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::CompleteTemplateSiteContainerIterator(), bpp::SimpleTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::hasMoreSites(), bpp::SimpleTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSite(), bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSite(), bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSite(), bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::NoGapTemplateSiteContainerIterator(), and bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::operator=().
|
protectedinherited |
Definition at line 23 of file SiteContainerIterator.h.
Referenced by bpp::SimpleTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::hasMoreSites(), bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::hasMoreSites(), bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::hasMoreSites(), bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextCompleteSitePosition(), bpp::SimpleTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSite(), bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSite(), bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSite(), bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSiteWithoutGapPosition(), bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::operator=(), bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::previousCompleteSitePosition(), and bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::previousSiteWithoutGapPosition().