![]() |
ATLAS Offline Software
|
Reader object for Collections. More...
#include <CollectionCursor.h>
Public Member Functions | |
| CollectionCursor (const CollectionRowBuffer &collectionRowBuffer, ContainerMap &attrContainers) | |
| bool | next () |
| Advances the cursor to the next row of the result set. | |
| const CollectionRowBuffer & | currentRow () const |
| Returns the selected Tokens and Attributes for the current row of the result set. | |
| std::size_t | size () |
| Return the size of the collection. | |
| bool | seek (std::size_t position) |
| Seeks the cursor to a given position in the collection. | |
| const Token & | eventRef () const |
| Returns the event reference Token for the current row. | |
Private Attributes | |
| CollectionRowBuffer | m_collectionRowBuffer |
| Row buffer containing the Token and Attributes. | |
| ContainerMap & | m_attrContainers |
| DbContainer & | m_tokenContainer |
| Container for the event reference. | |
| std::string | m_tokenStr |
| Temporary storage for Event Reference in string format as it is in RNTuple. | |
| std::size_t | m_idx |
Reader object for Collections.
Definition at line 27 of file CollectionCursor.h.
| CollectionCursor::CollectionCursor | ( | const CollectionRowBuffer & | collectionRowBuffer, |
| ContainerMap & | attrContainers ) |
Definition at line 15 of file CollectionCursor.cxx.
| const pool::CollectionRowBuffer & CollectionCursor::currentRow | ( | ) | const |
Returns the selected Tokens and Attributes for the current row of the result set.
Definition at line 62 of file CollectionCursor.cxx.
Returns the event reference Token for the current row.
Definition at line 84 of file CollectionCursor.cxx.
| bool CollectionCursor::next | ( | ) |
Advances the cursor to the next row of the result set.
Definition at line 27 of file CollectionCursor.cxx.
| bool CollectionCursor::seek | ( | std::size_t | position | ) |
Seeks the cursor to a given position in the collection.
Definition at line 74 of file CollectionCursor.cxx.
| std::size_t CollectionCursor::size | ( | ) |
Return the size of the collection.
Definition at line 68 of file CollectionCursor.cxx.
|
private |
Definition at line 54 of file CollectionCursor.h.
|
private |
Row buffer containing the Token and Attributes.
Definition at line 52 of file CollectionCursor.h.
|
private |
Definition at line 62 of file CollectionCursor.h.
|
private |
Container for the event reference.
Definition at line 57 of file CollectionCursor.h.
|
private |
Temporary storage for Event Reference in string format as it is in RNTuple.
Definition at line 60 of file CollectionCursor.h.