bpp-seq3  3.0.0
bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType > Class Template Reference

Loop over all complete sites in a SiteContainer (i.e. sites without gap and unresolved characters). More...

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

+ Inheritance diagram for bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >:
+ Collaboration diagram for bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >:

Public Member Functions

 CompleteTemplateSiteContainerIterator (const TemplateSiteContainerInterface< SiteType, SequenceType, HashType > &sites)
 
virtual ~CompleteTemplateSiteContainerIterator ()
 
const SiteType & nextSite () override
 
bool hasMoreSites () const override
 
long int nextCompleteSitePosition (long int current) const
 
long int previousCompleteSitePosition (long int current) const
 

Protected Attributes

const TemplateSiteContainerInterface< SiteType, SequenceType, HashType > * sites_
 
long int currentPosition_
 

Detailed Description

template<class SiteType, class SequenceType, class HashType>
class bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >

Loop over all complete sites in a SiteContainer (i.e. sites without gap and unresolved characters).

Definition at line 144 of file SiteContainerIterator.h.

Constructor & Destructor Documentation

◆ CompleteTemplateSiteContainerIterator()

◆ ~CompleteTemplateSiteContainerIterator()

template<class SiteType , class SequenceType , class HashType >
virtual bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::~CompleteTemplateSiteContainerIterator ( )
inlinevirtual

Definition at line 159 of file SiteContainerIterator.h.

Member Function Documentation

◆ hasMoreSites()

template<class SiteType , class SequenceType , class HashType >
bool bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::hasMoreSites ( ) const
inlineoverridevirtual

◆ nextCompleteSitePosition()

◆ nextSite()

◆ previousCompleteSitePosition()

template<class SiteType , class SequenceType , class HashType >
long int bpp::CompleteTemplateSiteContainerIterator< SiteType, SequenceType, HashType >::previousCompleteSitePosition ( long int  current) const
inline

Member Data Documentation

◆ currentPosition_

◆ sites_


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