ATLAS Offline Software
Loading...
Searching...
No Matches
CollectionRowBuffer.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "CollectionColumn.h"
8
9
14
15
17 : m_token( new Token ),
18 m_attributeList( new coral::AttributeList )
19{
20 rhs.token().setData( m_token );
21 // share the data
22 m_attributeList->merge( *rhs.m_attributeList );
23}
24
25
26bool pool::CollectionRowBuffer::deleteAL ATLAS_NOT_THREAD_SAFE()
27{
28 delete m_attributeList; m_attributeList = nullptr;
29 delete m_token; m_token = nullptr;
30 return true;
31}
32
33
35{
36 [[maybe_unused]] bool flag ATLAS_THREAD_SAFE = deleteAL();
37}
38
39
40void
45
46
47Token&
52
53const Token&
55{
56 return *m_token;
57}
58
59
60const std::string&
65
66
67coral::AttributeList&
72
73
74const coral::AttributeList&
79
This file contains the class definition for the Token class (migrated from POOL).
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
#define ATLAS_THREAD_SAFE
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition Token.h:22
static const CollectionColumn & tokenColumn()
const std::string & name() const
Returns the name of the column.
A class representing a row of a collection.
~CollectionRowBuffer()
Default destructor.
coral::AttributeList & attributeList()
Returns a reference to the list of Attributes.
coral::AttributeList * m_attributeList
List of Attributes.
Token & token()
Returns an object reference.
const std::string & tokenName() const
void setAttributeList(const coral::AttributeList &attributeList)
Sets the Attribute list schema.
CollectionRowBuffer()
Default Constructor.