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 COLLECTIONSVC_COLLECTIONROWBUFFER_H
6#define COLLECTIONSVC_COLLECTIONROWBUFFER_H
7
8#include "CoralBase/AttributeList.h"
10
11#include <string>
12
13class Token;
14
15namespace pool {
16
25 {
26 public:
29
35 CollectionRowBuffer( coral::AttributeList& attributeList );
36
43
46
53
59 bool operator==( const CollectionRowBuffer& rhs ) const;
60
66 bool operator!=( const CollectionRowBuffer& rhs ) const;
67
73 void setAttributeList( const coral::AttributeList& attributeList );
74
77 const Token& token() const;
78 const std::string& tokenName() const;
79
81 coral::AttributeList& attributeList();
82
84 const coral::AttributeList& attributeList() const;
85
86 private:
88
90 // Changed to a pointed to be able to avoid thread-safety checker
91 // warnings about AttributeList. We can change back to holding
92 // this by value once those warnings are removed.
93 coral::AttributeList* m_attributeList;
94
95 bool deleteAL ATLAS_NOT_THREAD_SAFE ();
96 };
97}
98
99#endif
100
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:21
const coral::AttributeList & attributeList() const
Returns a constant reference to the list of Attributes.
bool operator!=(const CollectionRowBuffer &rhs) const
Inequality operator.
bool operator==(const CollectionRowBuffer &rhs) const
Equality operator.
const Token & token() const
~CollectionRowBuffer()
Default destructor.
coral::AttributeList & attributeList()
Returns a reference to the list of Attributes.
CollectionRowBuffer & operator=(const CollectionRowBuffer &rhs)
Assignment operator.
coral::AttributeList * m_attributeList
List of Attributes.
Token & token()
Returns an object reference.
CollectionRowBuffer(coral::AttributeList &attributeList)
Constructor taking Attribute list as input.
const std::string & tokenName() const
bool deleteAL ATLAS_NOT_THREAD_SAFE()
void setAttributeList(const coral::AttributeList &attributeList)
Sets the Attribute list schema.
CollectionRowBuffer(const CollectionRowBuffer &rhs)
Copy Constructor.
CollectionRowBuffer()
Default Constructor.
Framework include files.
Definition libname.h:15