 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef COLLECTIONBASE_ICOLLECTIONCURSOR_H
6 #define COLLECTIONBASE_ICOLLECTIONCURSOR_H
14 class CollectionRowBuffer;
25 virtual std::size_t
size() = 0;
28 virtual bool seek(std::size_t position) = 0;
virtual bool next()=0
Advances the cursor to the next row of the query result set.
virtual bool seek(std::size_t position)=0
Seek to a given position in the collection.
This class provides a token that identifies in a unique way objects on the persistent storage.
virtual ~ICollectionCursor()
Empty destructor.
virtual const pool::CollectionRowBuffer & currentRow() const =0
Returns the selected Tokens and Attributes for the current row of the query result set.
virtual std::size_t size()=0
Returns the size of the collection.
virtual void close()=0
Cleanup.
virtual const Token & eventRef() const =0
Returns the event reference Token for the current row.