ATLAS Offline Software
CollectionRowBuffer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef COLLECTIONBASE_COLLECTIONROWBUFFER_H
6 #define COLLECTIONBASE_COLLECTIONROWBUFFER_H
7 
9 
10 #include "CoralBase/AttributeList.h"
12 
13 #include <string>
14 
15 
16 namespace pool {
17 
31  {
32  public:
35 
43 
50 
53 
60 
66  bool operator==( const CollectionRowBuffer& rhs ) const;
67 
73  bool operator!=( const CollectionRowBuffer& rhs ) const;
74 
81 
88 
91 
94 
96  const TokenList& tokenList() const;
97 
100 
101  private:
104 
106  // Changed to a pointed to be able to avoid thread-safety checker
107  // warnings about AttributeList. We can change back to holding
108  // this by value once those warnings are removed.
110 
111  bool deleteAL ATLAS_NOT_THREAD_SAFE ();
112  };
113 }
114 
115 #endif
116 
pool::CollectionRowBuffer::setAttributeList
void setAttributeList(const coral::AttributeList &attributeList)
Sets the Attribute list schema.
TokenList.h
pool::CollectionRowBuffer::CollectionRowBuffer
CollectionRowBuffer()
Default Constructor.
pool::CollectionRowBuffer::~CollectionRowBuffer
~CollectionRowBuffer()
Default destructor.
pool
pool namespace
Definition: libname.h:15
python.PyKernel.AttributeList
AttributeList
Definition: PyKernel.py:36
pool::CollectionRowBuffer::m_tokenList
TokenList m_tokenList
List of Tokens.
Definition: CollectionRowBuffer.h:103
pool::CollectionRowBuffer::operator!=
bool operator!=(const CollectionRowBuffer &rhs) const
Inequality operator.
pool::CollectionRowBuffer::attributeList
const coral::AttributeList & attributeList() const
Returns a constant reference to the list of Attributes.
pool::CollectionRowBuffer::CollectionRowBuffer
CollectionRowBuffer(const TokenList &tokenList, coral::AttributeList &attributeList)
Constructor taking Token list and Attribute list schema as input.
pool::CollectionRowBuffer::m_attributeList
coral::AttributeList * m_attributeList
List of Attributes.
Definition: CollectionRowBuffer.h:109
pool::TokenList
Definition: TokenList.h:24
pool::CollectionRowBuffer::tokenList
const TokenList & tokenList() const
Returns a constant reference to the list of Tokens.
pool::CollectionRowBuffer::attributeList
coral::AttributeList & attributeList()
Returns a reference to the list of Attributes.
pool::CollectionRowBuffer::ATLAS_NOT_THREAD_SAFE
bool deleteAL ATLAS_NOT_THREAD_SAFE()
pool::CollectionRowBuffer::setTokenList
void setTokenList(const TokenList &tokenList)
Sets the Token list schema.
pool::CollectionRowBuffer
Definition: CollectionRowBuffer.h:31
pool::CollectionRowBuffer::tokenList
TokenList & tokenList()
Returns a reference to the list of Tokens.
pool::CollectionRowBuffer::CollectionRowBuffer
CollectionRowBuffer(const CollectionRowBuffer &rhs)
Copy Constructor.
pool::CollectionRowBuffer::operator==
bool operator==(const CollectionRowBuffer &rhs) const
Equality operator.
pool::CollectionRowBuffer::operator=
CollectionRowBuffer & operator=(const CollectionRowBuffer &rhs)
Assignment operator.
checker_macros.h
Define macros for attributes used to control the static checker.