ATLAS Offline Software
DataHeader_p3.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PERSISTENTDATAMODELTPCNV_DATAHEADER_P3_H
6 #define PERSISTENTDATAMODELTPCNV_DATAHEADER_P3_H
7 
14 #include <vector>
15 #include <string>
16 #include <stdint.h>
17 
22 public: // Constructor and Destructor
25  virtual ~DataHeaderElement_p3();
26 
28 
29 friend class DataHeaderCnv_p3;
31 
32  const std::string& key() const;
33  unsigned int pClid() const;
34  const std::vector<unsigned int>& clids() const;
35  const std::string& token() const;
36  const std::vector<std::string>& alias() const;
37  unsigned int oid1() const;
38  unsigned int oid2() const;
39 
40 private:
41  std::vector<unsigned int> m_clids;
42  std::string m_token;
43  std::vector<std::string> m_alias;
44  unsigned int m_technology, m_oid1, m_oid2;
46  unsigned short m_keyPos;
47  std::vector<uint64_t> m_hashes;
48 };
49 
54 public: // Constructor and Destructor
55  DataHeader_p3();
56  DataHeader_p3(const DataHeader_p3& rhs);
57  virtual ~DataHeader_p3();
58 
60 
61 friend class DataHeaderCnv_p3;
62 
63  const std::vector<DataHeaderElement_p3>& elements() const;
64  const std::vector<DataHeaderElement_p3>& inputElements() const;
65  const std::vector<std::string>& GuidMap() const;
66 
67 private:
68  std::vector<DataHeaderElement_p3> m_DataHeader;
69  std::vector<DataHeaderElement_p3> m_InputDataHeader;
70  std::vector<std::string> m_GuidMap;
71 };
72 
73 #endif
DataHeader_p3::m_InputDataHeader
std::vector< DataHeaderElement_p3 > m_InputDataHeader
Definition: DataHeader_p3.h:69
DataHeaderElement_p3::token
const std::string & token() const
Definition: DataHeader_p3.cxx:52
DataHeaderElementCnv_p3
This class provides the converter to customize the saving of DataHeaderElement_p3.
Definition: DataHeaderCnv_p3.h:21
DataHeaderElement_p3::oid2
unsigned int oid2() const
Definition: DataHeader_p3.cxx:72
DataHeaderElement_p3
This class provides a persistent representation for the DataHeaderElement class.
Definition: DataHeader_p3.h:21
DataHeaderElement_p3::m_classIdIdx
unsigned short m_classIdIdx
Definition: DataHeader_p3.h:45
DataHeader_p3::GuidMap
const std::vector< std::string > & GuidMap() const
Definition: DataHeader_p3.cxx:101
DataHeaderElement_p3::m_dbGuidIdx
unsigned short m_dbGuidIdx
Definition: DataHeader_p3.h:45
DataHeaderElement_p3::m_hashes
std::vector< uint64_t > m_hashes
Definition: DataHeader_p3.h:47
DataHeaderElement_p3::key
const std::string & key() const
Definition: DataHeader_p3.cxx:60
DataHeaderElement_p3::m_oid2
unsigned int m_oid2
Definition: DataHeader_p3.h:44
DataHeader_p3
This class provides a persistent representation for the DataHeader class.
Definition: DataHeader_p3.h:53
DataHeaderElement_p3::~DataHeaderElement_p3
virtual ~DataHeaderElement_p3()
Definition: DataHeader_p3.cxx:29
DataHeaderElement_p3::m_prefixIdx
unsigned short m_prefixIdx
Definition: DataHeader_p3.h:45
DataHeaderElement_p3::m_token
std::string m_token
Definition: DataHeader_p3.h:42
DataHeader_p3::m_DataHeader
std::vector< DataHeaderElement_p3 > m_DataHeader
Definition: DataHeader_p3.h:68
DataHeaderElement_p3::m_oid1
unsigned int m_oid1
Definition: DataHeader_p3.h:44
DataHeader_p3::DataHeader_p3
DataHeader_p3()
Definition: DataHeader_p3.cxx:77
DataHeaderElement_p3::DataHeaderElement_p3
DataHeaderElement_p3()
Definition: DataHeader_p3.cxx:7
DataHeader_p3::elements
const std::vector< DataHeaderElement_p3 > & elements() const
Definition: DataHeader_p3.cxx:93
DataHeader_p3::operator=
DataHeader_p3 & operator=(const DataHeader_p3 &rhs)
Definition: DataHeader_p3.cxx:84
DataHeaderElement_p3::operator=
DataHeaderElement_p3 & operator=(const DataHeaderElement_p3 &rhs)
Definition: DataHeader_p3.cxx:31
DataHeader_p3::inputElements
const std::vector< DataHeaderElement_p3 > & inputElements() const
Definition: DataHeader_p3.cxx:97
DataHeaderElement_p3::m_technology
unsigned int m_technology
Definition: DataHeader_p3.h:44
DataHeaderElement_p3::pClid
unsigned int pClid() const
Definition: DataHeader_p3.cxx:64
DataHeaderElement_p3::alias
const std::vector< std::string > & alias() const
Definition: DataHeader_p3.cxx:56
DataHeaderElement_p3::m_clids
std::vector< unsigned int > m_clids
Definition: DataHeader_p3.h:41
DataHeaderElement_p3::clids
const std::vector< unsigned int > & clids() const
Definition: DataHeader_p3.cxx:48
DataHeader_p3::m_GuidMap
std::vector< std::string > m_GuidMap
Definition: DataHeader_p3.h:70
DataHeader_p3::~DataHeader_p3
virtual ~DataHeader_p3()
Definition: DataHeader_p3.cxx:82
DataHeaderElement_p3::m_keyPos
unsigned short m_keyPos
Definition: DataHeader_p3.h:46
DataHeaderCnv_p3
This class provides the converter to customize the saving of DataHeader_p3.
Definition: DataHeaderCnv_p3.h:35
DataHeaderElement_p3::oid1
unsigned int oid1() const
Definition: DataHeader_p3.cxx:68
DataHeaderElement_p3::m_alias
std::vector< std::string > m_alias
Definition: DataHeader_p3.h:43