bpp-seq3  3.0.0
bpp::CompleteSiteContainerIterator Class 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::CompleteSiteContainerIterator:
+ Collaboration diagram for bpp::CompleteSiteContainerIterator:

Public Member Functions

 CompleteSiteContainerIterator (const SiteContainer &sites)
 
virtual ~CompleteSiteContainerIterator ()
 
const SitenextSite ()
 
bool hasMoreSites () const
 
int nextCompleteSitePosition (int current) const
 
int previousCompleteSitePosition (int current) const
 

Protected Attributes

const SiteContainersites_
 
int currentPosition_
 

Detailed Description

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

Definition at line 112 of file SiteContainerIterator.h.

Constructor & Destructor Documentation

◆ CompleteSiteContainerIterator()

CompleteSiteContainerIterator::CompleteSiteContainerIterator ( const SiteContainer sites)

◆ ~CompleteSiteContainerIterator()

virtual bpp::CompleteSiteContainerIterator::~CompleteSiteContainerIterator ( )
inlinevirtual

Definition at line 116 of file SiteContainerIterator.h.

Member Function Documentation

◆ hasMoreSites()

bool CompleteSiteContainerIterator::hasMoreSites ( ) const
virtual

◆ nextCompleteSitePosition()

int CompleteSiteContainerIterator::nextCompleteSitePosition ( int  current) const

◆ nextSite()

◆ previousCompleteSitePosition()

int CompleteSiteContainerIterator::previousCompleteSitePosition ( int  current) const

Member Data Documentation

◆ currentPosition_

◆ sites_


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