ATLAS Offline Software
Database
APR
CollectionBase
CollectionBase
ICollectionCursor.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef COLLECTIONBASE_ICOLLECTIONCURSOR_H
6
#define COLLECTIONBASE_ICOLLECTIONCURSOR_H
7
8
9
class
Token
;
10
11
namespace
pool
{
12
13
class
CollectionRowBuffer;
14
20
class
ICollectionCursor
21
{
22
public
:
24
virtual
bool
next
() = 0;
25
27
virtual
const
pool::CollectionRowBuffer
&
currentRow
()
const
= 0;
28
30
virtual
const
Token
&
eventRef
()
const
= 0;
31
33
virtual
void
close
() = 0;
34
35
// protected: // MN: why protected?
37
virtual
~ICollectionCursor
() {}
38
};
39
40
}
41
42
#endif
43
44
pool
pool namespace
Definition:
libname.h:15
pool::ICollectionCursor::next
virtual bool next()=0
Advances the cursor to the next row of the query result set.
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition:
Token.h:21
pool::ICollectionCursor::~ICollectionCursor
virtual ~ICollectionCursor()
Empty destructor.
Definition:
ICollectionCursor.h:37
pool::ICollectionCursor::currentRow
virtual const pool::CollectionRowBuffer & currentRow() const =0
Returns the selected Tokens and Attributes for the current row of the query result set.
pool::ICollectionCursor
Definition:
ICollectionCursor.h:21
pool::CollectionRowBuffer
Definition:
CollectionRowBuffer.h:31
pool::ICollectionCursor::close
virtual void close()=0
Cleanup.
pool::ICollectionCursor::eventRef
virtual const Token & eventRef() const =0
Returns the event reference Token for the current row.
Generated on Sun Dec 22 2024 21:11:22 for ATLAS Offline Software by
1.8.18