#include <TokenIterator.h>
TokenIterator is an implementation of the ITokenIterator interface
Definition at line 30 of file TokenIterator.h.
◆ TokenIterator() [1/2]
Constructor taking as argument a DbSelection object, the file descriptor, the container name and the selection string.
◆ ~TokenIterator()
pool::PersistencySvc::TokenIterator::~TokenIterator |
( |
| ) |
|
◆ TokenIterator() [2/2]
◆ next()
Token* pool::PersistencySvc::TokenIterator::next |
( |
| ) |
|
|
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.
Implements pool::ITokenIterator.
◆ operator=()
◆ seek()
virtual bool pool::PersistencySvc::TokenIterator::seek |
( |
long long int |
position | ) |
|
|
virtual |
Seek to a given position in the collection.
- Parameters
-
position | The position to which to seek. |
- Returns
- True if successful, false otherwise.
Implements pool::IPositionSeek.
◆ size()
virtual int pool::PersistencySvc::TokenIterator::size |
( |
| ) |
|
|
virtual |
Return the size of the collection.
◆ m_selection
DbSelect* pool::PersistencySvc::TokenIterator::m_selection |
|
private |
◆ m_storageExplorer
The documentation for this class was generated from the following file: