bpp-seq3  3.0.0
bpp::NoGapSiteContainerIterator Class Reference

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

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

+ Inheritance diagram for bpp::NoGapSiteContainerIterator:
+ Collaboration diagram for bpp::NoGapSiteContainerIterator:

Public Member Functions

 NoGapSiteContainerIterator (const SiteContainer &sites)
 
virtual ~NoGapSiteContainerIterator ()
 
const SitenextSite ()
 
bool hasMoreSites () const
 
int nextSiteWithoutGapPosition (int current) const
 
int previousSiteWithoutGapPosition (int current) const
 

Protected Attributes

const SiteContainersites_
 
int currentPosition_
 

Detailed Description

Loop over all sites without gaps in a SiteContainer.

Definition at line 95 of file SiteContainerIterator.h.

Constructor & Destructor Documentation

◆ NoGapSiteContainerIterator()

NoGapSiteContainerIterator::NoGapSiteContainerIterator ( const SiteContainer sites)

◆ ~NoGapSiteContainerIterator()

virtual bpp::NoGapSiteContainerIterator::~NoGapSiteContainerIterator ( )
inlinevirtual

Definition at line 99 of file SiteContainerIterator.h.

Member Function Documentation

◆ hasMoreSites()

bool NoGapSiteContainerIterator::hasMoreSites ( ) const
virtual

◆ nextSite()

◆ nextSiteWithoutGapPosition()

int NoGapSiteContainerIterator::nextSiteWithoutGapPosition ( int  current) const

◆ previousSiteWithoutGapPosition()

int NoGapSiteContainerIterator::previousSiteWithoutGapPosition ( int  current) const

Member Data Documentation

◆ currentPosition_

◆ sites_


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