ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
EventSelectorAthenaPool
src
CollectionRowBuffer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EVENTSELECTORATHENAPOOL_COLLECTIONROWBUFFER_H
6
#define EVENTSELECTORATHENAPOOL_COLLECTIONROWBUFFER_H
7
8
#include "CoralBase/AttributeList.h"
9
#include "
CxxUtils/checker_macros.h
"
10
11
#include <string>
12
13
class
Token
;
14
15
namespace
pool
{
16
24
class
CollectionRowBuffer
25
{
26
public
:
28
CollectionRowBuffer
();
29
35
CollectionRowBuffer
(
const
CollectionRowBuffer
& rhs );
36
38
~CollectionRowBuffer
();
39
40
CollectionRowBuffer
&
operator=
(
const
CollectionRowBuffer
& rhs ) =
delete
;
41
47
void
setAttributeList
(
const
coral::AttributeList&
attributeList
);
48
50
Token
&
token
();
51
const
Token
&
token
()
const
;
52
const
std::string&
tokenName
()
const
;
53
55
coral::AttributeList&
attributeList
();
56
58
const
coral::AttributeList&
attributeList
()
const
;
59
60
private
:
61
Token
*
m_token
;
62
64
// Changed to a pointed to be able to avoid thread-safety checker
65
// warnings about AttributeList. We can change back to holding
66
// this by value once those warnings are removed.
67
coral::AttributeList*
m_attributeList
;
68
69
bool
deleteAL
ATLAS_NOT_THREAD_SAFE
();
70
};
71
}
72
73
#endif
74
checker_macros.h
Define macros for attributes used to control the static checker.
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
pool::CollectionRowBuffer::~CollectionRowBuffer
~CollectionRowBuffer()
Default destructor.
Definition
CollectionRowBuffer.cxx:34
pool::CollectionRowBuffer::attributeList
coral::AttributeList & attributeList()
Returns a reference to the list of Attributes.
Definition
CollectionRowBuffer.cxx:68
pool::CollectionRowBuffer::m_attributeList
coral::AttributeList * m_attributeList
List of Attributes.
Definition
CollectionRowBuffer.h:67
pool::CollectionRowBuffer::token
Token & token()
Returns an object reference.
Definition
CollectionRowBuffer.cxx:48
pool::CollectionRowBuffer::m_token
Token * m_token
Definition
CollectionRowBuffer.h:61
pool::CollectionRowBuffer::operator=
CollectionRowBuffer & operator=(const CollectionRowBuffer &rhs)=delete
pool::CollectionRowBuffer::tokenName
const std::string & tokenName() const
Definition
CollectionRowBuffer.cxx:61
pool::CollectionRowBuffer::ATLAS_NOT_THREAD_SAFE
bool deleteAL ATLAS_NOT_THREAD_SAFE()
pool::CollectionRowBuffer::setAttributeList
void setAttributeList(const coral::AttributeList &attributeList)
Sets the Attribute list schema.
Definition
CollectionRowBuffer.cxx:41
pool::CollectionRowBuffer::CollectionRowBuffer
CollectionRowBuffer()
Default Constructor.
Definition
CollectionRowBuffer.cxx:10
pool
Framework include files.
Definition
libname.h:15
Generated on
for ATLAS Offline Software by
1.17.0