bpp-seq3
3.0.0
|
Loop over all sites in a SiteContainer. More...
#include <Bpp/Seq/Container/SiteContainerIterator.h>
Public Member Functions | |
SimpleSiteContainerIterator (const SiteContainer &sites) | |
virtual | ~SimpleSiteContainerIterator () |
const Site * | nextSite () |
bool | hasMoreSites () const |
Protected Attributes | |
const SiteContainer * | sites_ |
int | currentPosition_ |
Loop over all sites in a SiteContainer.
Definition at line 81 of file SiteContainerIterator.h.
SimpleSiteContainerIterator::SimpleSiteContainerIterator | ( | const SiteContainer & | sites | ) |
Definition at line 61 of file SiteContainerIterator.cpp.
|
inlinevirtual |
Definition at line 85 of file SiteContainerIterator.h.
|
virtual |
Implements bpp::ConstSiteIterator.
Definition at line 70 of file SiteContainerIterator.cpp.
References bpp::AlignedValuesContainer::getNumberOfSites(), and bpp::AbstractSiteContainerIterator::sites_.
Referenced by bpp::SiteContainerTools::getConsensus().
|
virtual |
Implements bpp::ConstSiteIterator.
Definition at line 63 of file SiteContainerIterator.cpp.
References bpp::AbstractSiteContainerIterator::currentPosition_, bpp::SiteContainer::getSite(), and bpp::AbstractSiteContainerIterator::sites_.
Referenced by bpp::SiteContainerTools::getConsensus().
|
protectedinherited |
Definition at line 59 of file SiteContainerIterator.h.
Referenced by bpp::CompleteSiteContainerIterator::CompleteSiteContainerIterator(), nextSite(), bpp::NoGapSiteContainerIterator::nextSite(), bpp::CompleteSiteContainerIterator::nextSite(), bpp::NoGapSiteContainerIterator::NoGapSiteContainerIterator(), and bpp::AbstractSiteContainerIterator::operator=().
|
protectedinherited |
Definition at line 58 of file SiteContainerIterator.h.
Referenced by hasMoreSites(), bpp::NoGapSiteContainerIterator::hasMoreSites(), bpp::CompleteSiteContainerIterator::hasMoreSites(), bpp::CompleteSiteContainerIterator::nextCompleteSitePosition(), nextSite(), bpp::NoGapSiteContainerIterator::nextSite(), bpp::CompleteSiteContainerIterator::nextSite(), bpp::NoGapSiteContainerIterator::nextSiteWithoutGapPosition(), bpp::AbstractSiteContainerIterator::operator=(), bpp::CompleteSiteContainerIterator::previousCompleteSitePosition(), and bpp::NoGapSiteContainerIterator::previousSiteWithoutGapPosition().