![]() |
ATLAS Offline Software
|
#include <Implicitcollection/ImplicitCollectionIterator.h>
Public Member Functions | |
ImplicitCollectionIterator (IContainer &container, const pool::ICollectionDescription &description) | |
Constructor. More... | |
virtual pool::ICollectionCursor & | execute () |
Processes the query and returns a cursor over the query result. More... | |
virtual bool | next () |
Retrieves the next token in the collection. More... | |
virtual Token * | token () const |
Returns the token of the current position. More... | |
virtual const Token & | eventRef () const |
Returns the event reference Token for the current row. More... | |
virtual const CollectionRowBuffer & | currentRow () const |
Returns the selected Tokens and Attributes for the current row of the query result set. More... | |
virtual bool | seek (std::size_t position) |
Seek to a given position in the collection. More... | |
virtual std::size_t | size () |
Return the size of the collection. More... | |
virtual | ~ImplicitCollectionIterator () |
Destructor. More... | |
virtual void | selectAllAttributes () |
Adds all Attribute columns to the query select list. More... | |
virtual void | selectAllTokens () |
Adds all Token columns to the query select list. More... | |
virtual void | selectAll () |
Adds all Token and Attribute columns to the query select list. More... | |
virtual void | close () |
Cleanup. More... | |
Protected Attributes | |
IContainer & | m_container |
ITokenIterator * | m_tokenIterator |
Token * | m_token |
CollectionRowBuffer | m_rowBuffer |
Iterator over an implicit collection. Single class implementing both Query and Cursor interfaces to simplify backward compatibility
Definition at line 33 of file ImplicitCollectionIterator.h.
pool::ImplicitCollectionIterator::ImplicitCollectionIterator | ( | IContainer & | container, |
const pool::ICollectionDescription & | description | ||
) |
Constructor.
|
virtual |
Destructor.
|
inlinevirtual |
Cleanup.
Implements pool::ICollectionCursor.
Definition at line 87 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 57 of file ImplicitCollectionIterator.h.
|
virtual |
Processes the query and returns a cursor over the query result.
this method returns self
Implements pool::ICollectionQuery.
|
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.
|
inlinevirtual |
Adds all Token and Attribute columns to the query select list.
Implements pool::ICollectionQuery.
Definition at line 85 of file ImplicitCollectionIterator.h.
|
inlinevirtual |
Adds all Attribute columns to the query select list.
Implements pool::ICollectionQuery.
Definition at line 83 of file ImplicitCollectionIterator.h.
|
inlinevirtual |
Adds all Token columns to the query select list.
Implements pool::ICollectionQuery.
Definition at line 84 of file ImplicitCollectionIterator.h.
|
virtual |
Return the size of the collection.
Implements pool::ICollectionCursor.
|
virtual |
Returns the token of the current position.
|
protected |
Definition at line 91 of file ImplicitCollectionIterator.h.
|
mutableprotected |
Definition at line 95 of file ImplicitCollectionIterator.h.
|
protected |
Definition at line 93 of file ImplicitCollectionIterator.h.
|
protected |
Definition at line 92 of file ImplicitCollectionIterator.h.