ATLAS Offline Software
Loading...
Searching...
No Matches
pool::CollectionRowBuffer Class Reference

A class representing a row of a collection. More...

#include <CollectionSvc/CollectionRowBuffer.h>

Collaboration diagram for pool::CollectionRowBuffer:

Public Member Functions

 CollectionRowBuffer ()
 Default Constructor.
 CollectionRowBuffer (coral::AttributeList &attributeList)
 Constructor taking Attribute list as input.
 CollectionRowBuffer (const CollectionRowBuffer &rhs)
 Copy Constructor.
 ~CollectionRowBuffer ()
 Default destructor.
CollectionRowBufferoperator= (const CollectionRowBuffer &rhs)
 Assignment operator.
bool operator== (const CollectionRowBuffer &rhs) const
 Equality operator.
bool operator!= (const CollectionRowBuffer &rhs) const
 Inequality operator.
void setAttributeList (const coral::AttributeList &attributeList)
 Sets the Attribute list schema.
Tokentoken ()
 Returns an object reference.
const Tokentoken () const
const std::string & tokenName () const
coral::AttributeList & attributeList ()
 Returns a reference to the list of Attributes.
const coral::AttributeList & attributeList () const
 Returns a constant reference to the list of Attributes.

Private Member Functions

bool deleteAL ATLAS_NOT_THREAD_SAFE ()

Private Attributes

Tokenm_token
coral::AttributeList * m_attributeList
 List of Attributes.

Detailed Description

A class representing a row of a collection.

It contains a list of named attributes and a single POOL object reference. It is used when creatoing a new collection or when iterating over an existing one.

Definition at line 24 of file CollectionRowBuffer.h.

Constructor & Destructor Documentation

◆ CollectionRowBuffer() [1/3]

pool::CollectionRowBuffer::CollectionRowBuffer ( )

Default Constructor.

◆ CollectionRowBuffer() [2/3]

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

Constructor taking Attribute list as input.

Parameters
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!=()

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

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.

◆ token() [1/2]

Token & pool::CollectionRowBuffer::token ( )

Returns an object reference.

◆ token() [2/2]

const Token & pool::CollectionRowBuffer::token ( ) const

◆ tokenName()

const std::string & pool::CollectionRowBuffer::tokenName ( ) const

Member Data Documentation

◆ m_attributeList

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

List of Attributes.

Definition at line 93 of file CollectionRowBuffer.h.

◆ m_token

Token* pool::CollectionRowBuffer::m_token
private

Definition at line 87 of file CollectionRowBuffer.h.


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