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

Loop over all sites without gaps in a SiteContainer. More...

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

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

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_
 

Detailed Description

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

Loop over all sites without gaps in a SiteContainer.

Definition at line 92 of file SiteContainerIterator.h.

Constructor & Destructor Documentation

◆ NoGapTemplateSiteContainerIterator()

◆ ~NoGapTemplateSiteContainerIterator()

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

Definition at line 107 of file SiteContainerIterator.h.

Member Function Documentation

◆ hasMoreSites()

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

◆ nextSite()

◆ nextSiteWithoutGapPosition()

◆ previousSiteWithoutGapPosition()

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

Member Data Documentation

◆ currentPosition_

◆ sites_


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