ATLAS Offline Software
Loading...
Searching...
No Matches
IOVMetaDataContainer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef IOVDBDATAMODEL_IOVMETADATACONTAINER_H
6#define IOVDBDATAMODEL_IOVMETADATACONTAINER_H
7
20
21#include "GaudiKernel/ClassID.h"
23
24#include <string>
25#include <vector>
26#include <sstream>
27
29
36
38 public:
39
41
43 IOVMetaDataContainer(const std::string& folderName
44 , const std::string& folderDescription);
49
51
52
54 const std::string& folderName () const;
55
57 const std::string& folderDescription () const;
58
61
63
64
65 void setFolderName (const std::string& folderName);
66
68 void setFolderDescription (const std::string& description);
69
72 bool merge (CondAttrListCollection* payload);
73
75
77 void dump(std::ostringstream& stream) const;
78
79 private:
82
83 std::string m_folderName;
86};
87
88
89inline
94
95inline
103
104inline
111
112inline
115{
116 if (this != &cont) {
117 delete m_payload;
121 }
122 return *this;
123}
124
125inline
126const std::string&
128{
129 return (m_folderName);
130}
131
132inline
133const std::string&
138
139inline
142{
143 return (m_payload);
144}
145
146inline
147void
152
153inline
154void
159
161CLASS_DEF( IOVMetaDataContainer , 1316383046 , 1 )
162#include "AthenaKernel/MetaCont.h"
164#include "AthenaKernel/BaseInfo.h"
166
167#endif //
#define SG_BASE(D, B)
Declare that class D derives from class B.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
IOVPayloadContainer
This class is a container for the payload of conditions data.
This class is a collection of AttributeLists where each one is associated with a channel number.
This class is a container for conditions data.
IOVMetaDataContainer & operator=(const IOVMetaDataContainer &cont)
const std::string & folderName() const
Folder name.
const IOVPayloadContainer * payloadContainer() const
Access to payload container.
friend class IOVMetaDataContainerCnv_p1
IOVPayloadContainer * m_payload
void setFolderName(const std::string &folderName)
Set folder name.
void setFolderDescription(const std::string &description)
Set description.
friend class IOVMetaDataContainerPTCnv_p1
const std::string & folderDescription() const
Folder description.
This class is a container for the payload of conditions data.
std::string description
glabal timer - how long have I taken so far?
Definition hcg.cxx:91
-event-from-file
Definition merge.py:1