bpp-seq3  3.0.0
bpp::SimpleSiteContainerIterator Class Reference

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

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

+ Inheritance diagram for bpp::SimpleSiteContainerIterator:
+ Collaboration diagram for bpp::SimpleSiteContainerIterator:

Public Member Functions

 SimpleSiteContainerIterator (const SiteContainer &sites)
 
virtual ~SimpleSiteContainerIterator ()
 
const SitenextSite ()
 
bool hasMoreSites () const
 

Protected Attributes

const SiteContainersites_
 
int currentPosition_
 

Detailed Description

Loop over all sites in a SiteContainer.

Definition at line 81 of file SiteContainerIterator.h.

Constructor & Destructor Documentation

◆ SimpleSiteContainerIterator()

SimpleSiteContainerIterator::SimpleSiteContainerIterator ( const SiteContainer sites)

Definition at line 61 of file SiteContainerIterator.cpp.

◆ ~SimpleSiteContainerIterator()

virtual bpp::SimpleSiteContainerIterator::~SimpleSiteContainerIterator ( )
inlinevirtual

Definition at line 85 of file SiteContainerIterator.h.

Member Function Documentation

◆ hasMoreSites()

bool SimpleSiteContainerIterator::hasMoreSites ( ) const
virtual

◆ nextSite()

Member Data Documentation

◆ currentPosition_

◆ sites_


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