ATLAS Offline Software
|
#include <CollectionBase/CollectionRowBuffer.h>
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... | |
CollectionRowBuffer & | operator= (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... | |
TokenList & | tokenList () |
Returns a reference to the list of Tokens. More... | |
coral::AttributeList & | attributeList () |
Returns a reference to the list of Attributes. More... | |
const TokenList & | tokenList () 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... | |
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.
pool::CollectionRowBuffer::CollectionRowBuffer | ( | ) |
Default Constructor.
pool::CollectionRowBuffer::CollectionRowBuffer | ( | const TokenList & | tokenList, |
coral::AttributeList & | attributeList | ||
) |
Constructor taking Token list and Attribute list schema as input.
tokenList | List of Tokens |
attributeList | List of Attributes. |
pool::CollectionRowBuffer::CollectionRowBuffer | ( | const CollectionRowBuffer & | rhs | ) |
Copy Constructor.
rhs | Object to be copied. |
pool::CollectionRowBuffer::~CollectionRowBuffer | ( | ) |
Default destructor.
|
private |
coral::AttributeList& pool::CollectionRowBuffer::attributeList | ( | ) |
Returns a reference to the list of Attributes.
const coral::AttributeList& pool::CollectionRowBuffer::attributeList | ( | ) | const |
Returns a constant reference to the list of Attributes.
bool pool::CollectionRowBuffer::operator!= | ( | const CollectionRowBuffer & | rhs | ) | const |
Inequality operator.
rhs | Collection row buffer to compare to. |
CollectionRowBuffer& pool::CollectionRowBuffer::operator= | ( | const CollectionRowBuffer & | rhs | ) |
Assignment operator.
rhs | Collection row buffer to copy. |
bool pool::CollectionRowBuffer::operator== | ( | const CollectionRowBuffer & | rhs | ) | const |
Equality operator.
rhs | Collection row buffer to compare to. |
void pool::CollectionRowBuffer::setAttributeList | ( | const coral::AttributeList & | attributeList | ) |
Sets the Attribute list schema.
attributeList | List of Attributes. |
Sets the Token list schema.
tokenList | List of Tokens. |
TokenList& pool::CollectionRowBuffer::tokenList | ( | ) |
Returns a reference to the list of Tokens.
Returns a constant reference to the list of Tokens.
|
private |
List of Attributes.
Definition at line 109 of file CollectionRowBuffer.h.
|
private |
List of Tokens.
Definition at line 103 of file CollectionRowBuffer.h.