5#ifndef INCLUDE_PERSISTENCYSVC_ITOKENITERATOR_H
6#define INCLUDE_PERSISTENCYSVC_ITOKENITERATOR_H
28 virtual std::size_t
size () = 0;
35 virtual bool seek (std::size_t position) = 0;
This class provides a token that identifies in a unique way objects on the persistent storage.
ITokenIterator is the interface class for iterators of tokens.
virtual std::size_t size()=0
Returns the size of the collection.
virtual Token * next()=0
Returns the pointer to next token.
virtual ~ITokenIterator()
Empty destructor.
virtual bool seek(std::size_t position)=0
Seek to a given position in the collection.