bpp-seq3
3.0.0
|
Partial implementation of the SiteIterator interface, allowing to loop over a site container. More...
#include <Bpp/Seq/Container/SiteContainerIterator.h>
Public Member Functions | |
AbstractSiteContainerIterator (const SiteContainer &sites) | |
AbstractSiteContainerIterator (const AbstractSiteContainerIterator &asi) | |
AbstractSiteContainerIterator & | operator= (const AbstractSiteContainerIterator &asi) |
virtual | ~AbstractSiteContainerIterator () |
virtual const Site * | nextSite ()=0 |
virtual bool | hasMoreSites () const =0 |
Protected Attributes | |
const SiteContainer * | sites_ |
int | currentPosition_ |
Partial implementation of the SiteIterator interface, allowing to loop over a site container.
Definition at line 54 of file SiteContainerIterator.h.
AbstractSiteContainerIterator::AbstractSiteContainerIterator | ( | const SiteContainer & | sites | ) |
Definition at line 54 of file SiteContainerIterator.cpp.
|
inline |
Definition at line 64 of file SiteContainerIterator.h.
|
inlinevirtual |
Definition at line 75 of file SiteContainerIterator.h.
|
pure virtualinherited |
|
pure virtualinherited |
|
inline |
Definition at line 68 of file SiteContainerIterator.h.
References currentPosition_, and sites_.
|
protected |
Definition at line 59 of file SiteContainerIterator.h.
Referenced by bpp::CompleteSiteContainerIterator::CompleteSiteContainerIterator(), bpp::SimpleSiteContainerIterator::nextSite(), bpp::NoGapSiteContainerIterator::nextSite(), bpp::CompleteSiteContainerIterator::nextSite(), bpp::NoGapSiteContainerIterator::NoGapSiteContainerIterator(), and operator=().
|
protected |
Definition at line 58 of file SiteContainerIterator.h.
Referenced by bpp::SimpleSiteContainerIterator::hasMoreSites(), bpp::NoGapSiteContainerIterator::hasMoreSites(), bpp::CompleteSiteContainerIterator::hasMoreSites(), bpp::CompleteSiteContainerIterator::nextCompleteSitePosition(), bpp::SimpleSiteContainerIterator::nextSite(), bpp::NoGapSiteContainerIterator::nextSite(), bpp::CompleteSiteContainerIterator::nextSite(), bpp::NoGapSiteContainerIterator::nextSiteWithoutGapPosition(), operator=(), bpp::CompleteSiteContainerIterator::previousCompleteSitePosition(), and bpp::NoGapSiteContainerIterator::previousSiteWithoutGapPosition().