ATLAS Offline Software
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 
7 
9 {
10  delete (m_payload);
11 }
12 
13 bool
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