bpp-seq3
3.0.0
|
Loop over all sites without gaps in a SiteContainer. More...
#include <Bpp/Seq/Container/SiteContainerIterator.h>
Public Member Functions | |
NoGapTemplateSiteContainerIterator (const TemplateSiteContainerInterface< SiteType, SequenceType, HashType > &sites) | |
virtual | ~NoGapTemplateSiteContainerIterator () |
const SiteType & | nextSite () override |
bool | hasMoreSites () const override |
long int | nextSiteWithoutGapPosition (int current) const |
long int | previousSiteWithoutGapPosition (int current) const |
Protected Attributes | |
const TemplateSiteContainerInterface< SiteType, SequenceType, HashType > * | sites_ |
long int | currentPosition_ |
Loop over all sites without gaps in a SiteContainer.
Definition at line 92 of file SiteContainerIterator.h.
|
inline |
|
inlinevirtual |
Definition at line 107 of file SiteContainerIterator.h.
|
inlineoverridevirtual |
Implements bpp::TemplateSiteIteratorInterface< const SiteType >.
Definition at line 117 of file SiteContainerIterator.h.
References bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::sites_.
|
inlineoverridevirtual |
Implements bpp::TemplateSiteIteratorInterface< const SiteType >.
Definition at line 110 of file SiteContainerIterator.h.
References bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::currentPosition_, bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSiteWithoutGapPosition(), and bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::sites_.
|
inline |
Definition at line 122 of file SiteContainerIterator.h.
References bpp::SymbolListTools::hasGap(), and bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::sites_.
Referenced by bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::nextSite(), and bpp::NoGapTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::NoGapTemplateSiteContainerIterator().
|
inline |
Definition at line 130 of file SiteContainerIterator.h.
References bpp::SymbolListTools::hasGap(), and bpp::AbstractTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::sites_.
|
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().