ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
pool::CollectionRowBuffer Class Reference

#include <CollectionBase/CollectionRowBuffer.h>

Collaboration diagram for pool::CollectionRowBuffer:

Public Member Functions

 CollectionRowBuffer ()
 Default Constructor. More...
 
 CollectionRowBuffer (const TokenList &tokenList, coral::AttributeList &attributeList)
 Constructor taking Token list and Attribute list schema as input. More...
 
 CollectionRowBuffer (const CollectionRowBuffer &rhs)
 Copy Constructor. More...
 
 ~CollectionRowBuffer ()
 Default destructor. More...
 
CollectionRowBufferoperator= (const CollectionRowBuffer &rhs)
 Assignment operator. More...
 
bool operator== (const CollectionRowBuffer &rhs) const
 Equality operator. More...
 
bool operator!= (const CollectionRowBuffer &rhs) const
 Inequality operator. More...
 
void setTokenList (const TokenList &tokenList)
 Sets the Token list schema. More...
 
void setAttributeList (const coral::AttributeList &attributeList)
 Sets the Attribute list schema. More...
 
TokenListtokenList ()
 Returns a reference to the list of Tokens. More...
 
coral::AttributeList & attributeList ()
 Returns a reference to the list of Attributes. More...
 
const TokenListtokenList () const
 Returns a constant reference to the list of Tokens. More...
 
const coral::AttributeList & attributeList () const
 Returns a constant reference to the list of Attributes. More...
 

Private Member Functions

bool deleteAL ATLAS_NOT_THREAD_SAFE ()
 

Private Attributes

TokenList m_tokenList
 List of Tokens. More...
 
coral::AttributeList * m_attributeList
 List of Attributes. More...
 

Detailed Description

A class that acts as a buffer to be filled with the event reference and associated metadata values of a given row to be inserted into a collection by its data editor object. The reference type row values are provided by the user in the form of POOL Token objects which are then internally converted to a database storable type. Note that this interface is only intended for data changes, not schema changes. To perform the latter operations one should use the schema editor object of the collection. The CollectionRowBuffer class may also act as a buffer to contain the rows of event references and associated metadata resulting from a query.

Definition at line 30 of file CollectionRowBuffer.h.

Constructor & Destructor Documentation

◆ CollectionRowBuffer() [1/3]

pool::CollectionRowBuffer::CollectionRowBuffer ( )

Default Constructor.

◆ CollectionRowBuffer() [2/3]

pool::CollectionRowBuffer::CollectionRowBuffer ( const TokenList tokenList,
coral::AttributeList &  attributeList 
)

Constructor taking Token list and Attribute list schema as input.

Parameters
tokenListList of Tokens
attributeListList of Attributes.

◆ CollectionRowBuffer() [3/3]

pool::CollectionRowBuffer::CollectionRowBuffer ( const CollectionRowBuffer rhs)

Copy Constructor.

Parameters
rhsObject to be copied.

◆ ~CollectionRowBuffer()

pool::CollectionRowBuffer::~CollectionRowBuffer ( )

Default destructor.

Member Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

bool deleteAL pool::CollectionRowBuffer::ATLAS_NOT_THREAD_SAFE ( )
private

◆ attributeList() [1/2]

coral::AttributeList& pool::CollectionRowBuffer::attributeList ( )

Returns a reference to the list of Attributes.

◆ attributeList() [2/2]

const coral::AttributeList& pool::CollectionRowBuffer::attributeList ( ) const

Returns a constant reference to the list of Attributes.

◆ operator!=()

Inequality operator.

Parameters
rhsCollection row buffer to compare to.

◆ operator=()

CollectionRowBuffer& pool::CollectionRowBuffer::operator= ( const CollectionRowBuffer rhs)

Assignment operator.

Parameters
rhsCollection row buffer to copy.

◆ operator==()

bool pool::CollectionRowBuffer::operator== ( const CollectionRowBuffer rhs) const

Equality operator.

Parameters
rhsCollection row buffer to compare to.

◆ setAttributeList()

void pool::CollectionRowBuffer::setAttributeList ( const coral::AttributeList &  attributeList)

Sets the Attribute list schema.

Parameters
attributeListList of Attributes.

◆ setTokenList()

void pool::CollectionRowBuffer::setTokenList ( const TokenList tokenList)

Sets the Token list schema.

Parameters
tokenListList of Tokens.

◆ tokenList() [1/2]

TokenList& pool::CollectionRowBuffer::tokenList ( )

Returns a reference to the list of Tokens.

◆ tokenList() [2/2]

const TokenList& pool::CollectionRowBuffer::tokenList ( ) const

Returns a constant reference to the list of Tokens.

Member Data Documentation

◆ m_attributeList

coral::AttributeList* pool::CollectionRowBuffer::m_attributeList
private

List of Attributes.

Definition at line 109 of file CollectionRowBuffer.h.

◆ m_tokenList

TokenList pool::CollectionRowBuffer::m_tokenList
private

List of Tokens.

Definition at line 103 of file CollectionRowBuffer.h.


The documentation for this class was generated from the following file: