gatb.core-API-1.4.2
BankBinary::Iterator Class Reference

Specific Iterator impl for BankBinary class. More...

#include <BankBinary.hpp>

Inheritance diagram for BankBinary::Iterator:
Inheritance graph

Public Member Functions

 Iterator (BankBinary &ref)
 
virtual ~Iterator ()
 
void first ()
 
void next ()
 
bool isDone ()
 
Sequenceitem ()
 
void estimate (u_int64_t &number, u_int64_t &totalSize, u_int64_t &maxSize)
 
- Public Member Functions inherited from Iterator< Sequence >
Sequence * operator-> ()
 
Sequence & operator* ()
 
void iterate (const Functor &f)
 
virtual void setItem (Sequence &i)
 
bool get (std::vector< Sequence > &current)
 
virtual void reset ()
 
virtual void finalize ()
 
virtual std::vector< Iterator< Sequence > * > getComposition ()
 
- Public Member Functions inherited from SmartPointer
void use ()
 
void forget ()
 
- Public Member Functions inherited from ISmartPointer
virtual ~ISmartPointer ()
 

Additional Inherited Members

- Protected Member Functions inherited from SmartPointer
 SmartPointer ()
 
virtual ~SmartPointer ()
 

Detailed Description

Specific Iterator impl for BankBinary class.

Constructor & Destructor Documentation

Iterator ( BankBinary ref)

Constructor.

Parameters
[in]ref: the associated iterable instance.
~Iterator ( )
virtual

Destructor

Member Function Documentation

void estimate ( u_int64_t &  number,
u_int64_t &  totalSize,
u_int64_t &  maxSize 
)

Estimation of the sequences information.

void first ( )
virtual

Method that initializes the iteration.

Implements Iterator< Sequence >.

bool isDone ( )
inlinevirtual

Method telling whether the iteration is finished or not.

Returns
true if iteration is finished, false otherwise.

Implements Iterator< Sequence >.

Sequence& item ( )
inlinevirtual

Method that returns the current iterated item. Note that the returned type is the template type.

Returns
the current item in the iteration.

Implements Iterator< Sequence >.

void next ( )
virtual

Method that goes to the next item in the iteration.

Returns
status of the iteration

Implements Iterator< Sequence >.


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