ATLAS Offline Software
Loading...
Searching...
No Matches
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"
10
11#include <string>
12
13class Token;
14
15namespace pool {
16
25 {
26 public:
29
36
39
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:
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
Define macros for attributes used to control the static checker.
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition Token.h:22
~CollectionRowBuffer()
Default destructor.
coral::AttributeList & attributeList()
Returns a reference to the list of Attributes.
coral::AttributeList * m_attributeList
List of Attributes.
Token & token()
Returns an object reference.
CollectionRowBuffer & operator=(const CollectionRowBuffer &rhs)=delete
const std::string & tokenName() const
bool deleteAL ATLAS_NOT_THREAD_SAFE()
void setAttributeList(const coral::AttributeList &attributeList)
Sets the Attribute list schema.
CollectionRowBuffer()
Default Constructor.
Framework include files.
Definition libname.h:15