bpp-seq-omics  2.4.1
bpp::TrashIteratorAdapter Class Reference

#include <Bpp/Seq/Io/Maf/MafIterator.h>

+ Inheritance diagram for bpp::TrashIteratorAdapter:
+ Collaboration diagram for bpp::TrashIteratorAdapter:

Public Member Functions

 TrashIteratorAdapter (MafTrashIterator *iterator)
 
void addIterationListener (IterationListener *listener)
 
MafBlocknextBlock ()
 Get the next available alignment block. More...
 
bool isVerbose () const
 
void setVerbose (bool yn)
 

Protected Member Functions

virtual void fireIterationStartSignal_ ()
 
virtual void fireIterationMoveSignal_ (const MafBlock &currentBlock)
 
virtual void fireIterationStopSignal_ ()
 

Protected Attributes

std::vector< IterationListener * > iterationListeners_
 
bool started_
 
bool verbose_
 

Private Member Functions

 TrashIteratorAdapter (const TrashIteratorAdapter &iterator)
 
TrashIteratorAdapteroperator= (const TrashIteratorAdapter &iterator)
 
MafBlockanalyseCurrentBlock_ ()
 

Private Attributes

MafTrashIteratoriterator_
 

Detailed Description

Definition at line 183 of file MafIterator.h.

Constructor & Destructor Documentation

◆ TrashIteratorAdapter() [1/2]

bpp::TrashIteratorAdapter::TrashIteratorAdapter ( MafTrashIterator iterator)
inline

Definition at line 190 of file MafIterator.h.

◆ TrashIteratorAdapter() [2/2]

bpp::TrashIteratorAdapter::TrashIteratorAdapter ( const TrashIteratorAdapter iterator)
inlineprivate

Definition at line 194 of file MafIterator.h.

Member Function Documentation

◆ addIterationListener()

void bpp::AbstractMafIterator::addIterationListener ( IterationListener listener)
inlinevirtualinherited

Implements bpp::MafIterator.

Definition at line 99 of file MafIterator.h.

References bpp::AbstractMafIterator::iterationListeners_.

◆ analyseCurrentBlock_()

MafBlock* bpp::TrashIteratorAdapter::analyseCurrentBlock_ ( )
inlineprivatevirtual

Implements bpp::AbstractMafIterator.

Definition at line 203 of file MafIterator.h.

References iterator_, and bpp::MafTrashIterator::nextRemovedBlock().

◆ fireIterationMoveSignal_()

void AbstractMafIterator::fireIterationMoveSignal_ ( const MafBlock currentBlock)
protectedvirtualinherited

Definition at line 57 of file MafIterator.cpp.

Referenced by bpp::AbstractMafIterator::nextBlock().

◆ fireIterationStartSignal_()

void AbstractMafIterator::fireIterationStartSignal_ ( )
protectedvirtualinherited

Definition at line 51 of file MafIterator.cpp.

Referenced by bpp::AbstractMafIterator::nextBlock().

◆ fireIterationStopSignal_()

void AbstractMafIterator::fireIterationStopSignal_ ( )
protectedvirtualinherited

Definition at line 63 of file MafIterator.cpp.

Referenced by bpp::AbstractMafIterator::nextBlock().

◆ isVerbose()

bool bpp::AbstractMafIterator::isVerbose ( ) const
inlinevirtualinherited

Implements bpp::MafIterator.

Definition at line 116 of file MafIterator.h.

References bpp::AbstractMafIterator::verbose_.

◆ nextBlock()

MafBlock* bpp::AbstractMafIterator::nextBlock ( )
inlinevirtualinherited

Get the next available alignment block.

Returns
A maf alignment block, or a null pointer if no more block is available.

Implements bpp::MafIterator.

Definition at line 103 of file MafIterator.h.

References bpp::AbstractMafIterator::analyseCurrentBlock_(), bpp::AbstractMafIterator::fireIterationMoveSignal_(), bpp::AbstractMafIterator::fireIterationStartSignal_(), bpp::AbstractMafIterator::fireIterationStopSignal_(), and bpp::AbstractMafIterator::started_.

◆ operator=()

TrashIteratorAdapter& bpp::TrashIteratorAdapter::operator= ( const TrashIteratorAdapter iterator)
inlineprivate

Definition at line 197 of file MafIterator.h.

References iterator_.

◆ setVerbose()

void bpp::AbstractMafIterator::setVerbose ( bool  yn)
inlinevirtualinherited

Implements bpp::MafIterator.

Definition at line 117 of file MafIterator.h.

References bpp::AbstractMafIterator::verbose_.

Member Data Documentation

◆ iterationListeners_

std::vector<IterationListener*> bpp::AbstractMafIterator::iterationListeners_
protectedinherited

Definition at line 89 of file MafIterator.h.

Referenced by bpp::AbstractMafIterator::addIterationListener().

◆ iterator_

MafTrashIterator* bpp::TrashIteratorAdapter::iterator_
private

Definition at line 187 of file MafIterator.h.

Referenced by analyseCurrentBlock_(), and operator=().

◆ started_

bool bpp::AbstractMafIterator::started_
protectedinherited

Definition at line 90 of file MafIterator.h.

Referenced by bpp::AbstractMafIterator::nextBlock().

◆ verbose_

bool bpp::AbstractMafIterator::verbose_
protectedinherited

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