![]() |
ATLAS Offline Software
|
#include <PersistencySvc/ITokenIterator.h>
Public Member Functions | |
virtual | ~ITokenIterator () |
Empty destructor. More... | |
virtual std::size_t | size ()=0 |
Returns the size of the collection. More... | |
virtual bool | seek (std::size_t position)=0 |
Seek to a given position in the collection. More... | |
virtual Token * | next ()=0 |
Returns the pointer to next token. More... | |
ITokenIterator is the interface class for iterators of tokens
Definition at line 21 of file ITokenIterator.h.
|
inlinevirtual |
|
pure virtual |
Returns the pointer to next token.
Token ownership is passed to the user. if no other token is available in the iteration sequence, 0 is returned.
Implemented in pool::PersistencySvc::TokenIterator.
|
pure virtual |
Seek to a given position in the collection.
position | The position to which to seek. |
Implemented in pool::PersistencySvc::TokenIterator.
|
pure virtual |
Returns the size of the collection.
Implemented in pool::PersistencySvc::TokenIterator.