gatb.core-API-0.0.0
|
Iterator implementation for file. More...
#include <IteratorFile.hpp>
Public Member Functions | |
IteratorFile () | |
IteratorFile (const std::string &filename, size_t cacheItemsNb=10000) | |
~IteratorFile () | |
IteratorFile & | operator= (const IteratorFile &it) |
void | first () |
void | next () |
bool | isDone () |
Item & | item () |
Public Member Functions inherited from Iterator< Item > | |
Item * | operator-> () |
Item & | operator* () |
template<typename Functor > | |
void | iterate (const Functor &f) |
virtual void | setItem (Item &i) |
bool | get (std::vector< Item > ¤t) |
virtual void | reset () |
virtual void | finalize () |
virtual std::vector< Iterator< Item > * > | 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 () |
Iterator implementation for file.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Destructor.
|
inlinevirtual |
Method that initializes the iteration.
Implements Iterator< Item >.
|
inlinevirtual |
Method telling whether the iteration is finished or not.
Implements Iterator< Item >.
|
inlinevirtual |
Method that returns the current iterated item. Note that the returned type is the template type.
Implements Iterator< Item >.
|
inlinevirtual |
Method that goes to the next item in the iteration.
Implements Iterator< Item >.
|
inline |
Affectation.