ATLAS Offline Software
Database
IOVDbDataModel
src
IOVMetaDataContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
IOVDbDataModel/IOVMetaDataContainer.h
"
6
#include "
IOVDbDataModel/IOVPayloadContainer.h
"
7
8
IOVMetaDataContainer::~IOVMetaDataContainer
()
9
{
10
delete
(
m_payload
);
11
}
12
13
bool
14
IOVMetaDataContainer::merge
(
CondAttrListCollection
*
payload
)
15
{
16
return
m_payload
->
merge
(
payload
);
17
}
18
19
void
IOVMetaDataContainer::dump
(std::ostringstream&
stream
)
const
20
{
21
stream
<<
"IOVMetaDataContainer ::"
<< std::endl;
22
stream
<<
"Payload size : "
<<
m_payload
->
size
() << std::endl;
23
stream
<<
"IOVs and attribute lists : "
<< std::endl;
24
25
for
(
CondAttrListCollection
* attListCol : *
m_payload
) {
26
attListCol->dump(
stream
);
27
}
28
}
IOVPayloadContainer.h
This class is a container for the payload of conditions data. It is intended to be used to store cond...
IOVMetaDataContainer::merge
bool merge(CondAttrListCollection *payload)
Add in new payload.
Definition:
IOVMetaDataContainer.cxx:14
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition:
CondAttrListCollection.h:52
AthenaPoolTestWrite.stream
string stream
Definition:
AthenaPoolTestWrite.py:12
IOVPayloadContainer::size
size_type size() const
size of payload vector
Definition:
IOVPayloadContainer.h:121
IOVMetaDataContainer::~IOVMetaDataContainer
~IOVMetaDataContainer()
Definition:
IOVMetaDataContainer.cxx:8
IOVMetaDataContainer.h
This class is a container for conditions data. It is intended to be used to store conditions data fro...
IOVMetaDataContainer::dump
void dump(std::ostringstream &stream) const
Dump the content.
Definition:
IOVMetaDataContainer.cxx:19
PixelModuleFeMask_create_db.payload
string payload
Definition:
PixelModuleFeMask_create_db.py:69
IOVMetaDataContainer::m_payload
IOVPayloadContainer * m_payload
Definition:
IOVMetaDataContainer.h:85
IOVPayloadContainer::merge
bool merge(CondAttrListCollection *attrListColl)
Add in new payload, checking that it is not a duplicate.
Definition:
IOVPayloadContainer.cxx:36
Generated on Thu Nov 7 2024 21:17:18 for ATLAS Offline Software by
1.8.18