![]() |
ATLAS Offline Software
|
Iterator over an implicit collection. More...
#include <Implicitcollection/ImplicitCollectionIterator.h>
Public Member Functions | |
| ImplicitCollectionIterator (IContainer &container) | |
| Constructor. | |
| virtual bool | next () |
| Retrieves the next token in the collection. | |
| virtual Token * | token () const |
| Returns the token of the current position. | |
| virtual const Token & | eventRef () const |
| Returns the event reference Token for the current row. | |
| virtual const CollectionRowBuffer & | currentRow () const |
| Returns the selected Tokens and Attributes for the current row of the query result set. | |
| virtual bool | seek (std::size_t position) |
| Seek to a given position in the collection. | |
| virtual std::size_t | size () |
| Return the size of the collection. | |
| virtual | ~ImplicitCollectionIterator () |
| Destructor. | |
| virtual void | close () |
| Cleanup. | |
Protected Attributes | |
| IContainer & | m_container |
| std::unique_ptr< ITokenIterator > | m_tokenIterator |
| Token * | m_token |
| CollectionRowBuffer | m_rowBuffer |
Iterator over an implicit collection.
Class implementing Cursor interface
Definition at line 31 of file ImplicitCollectionIterator.h.
| pool::ImplicitCollectionIterator::ImplicitCollectionIterator | ( | IContainer & | container | ) |
Constructor.
|
virtual |
Destructor.
|
inlinevirtual |
Cleanup.
Implements pool::ICollectionCursor.
Definition at line 72 of file ImplicitCollectionIterator.h.
|
virtual |
Returns the selected Tokens and Attributes for the current row of the query result set.
Implements pool::ICollectionCursor.
Returns the event reference Token for the current row.
Implements pool::ICollectionCursor.
Definition at line 46 of file ImplicitCollectionIterator.h.
|
virtual |
Retrieves the next token in the collection.
Returns false if the end of the collection has been reached.
Implements pool::ICollectionCursor.
|
virtual |
Seek to a given position in the collection.
| position | The position to which to seek. |
Implements pool::ICollectionCursor.
|
virtual |
Return the size of the collection.
Implements pool::ICollectionCursor.
|
virtual |
Returns the token of the current position.
|
protected |
Definition at line 76 of file ImplicitCollectionIterator.h.
|
mutableprotected |
Definition at line 80 of file ImplicitCollectionIterator.h.
|
protected |
Definition at line 78 of file ImplicitCollectionIterator.h.
|
protected |
Definition at line 77 of file ImplicitCollectionIterator.h.