ATLAS Offline Software
Loading...
Searching...
No Matches
IOVPayloadContainer_p1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef IOVDBDATAMODEL_IOVPAYLOADCONTAINER_P1_H
6#define IOVDBDATAMODEL_IOVPAYLOADCONTAINER_P1_H
7
20
21//<<<<<< INCLUDES >>>>>>
23#include <stdint.h>
24#include <vector>
25#include <string>
26
28public:
29
50
51
52
54 {
55 public:
57 unsigned long long m_start;
58 unsigned long long m_stop;
59 };
60
61
63 {
64 public:
65
66 unsigned int m_channelNumber;
67 unsigned int m_firstIndex;
68 unsigned int m_lastIndex;
70 std::string m_name;
71 };
72
74 {
75 public:
77 m_start(static_cast<unsigned long long>(-1)),
78 m_stop (static_cast<unsigned long long>(-1)),
80 {}
81 std::vector<CondAttrListEntry_p1> m_attrLists;
82 // Must save stop - may be smaller than min stop of all
83 // channels because there may be extra channels not yet in
84 // this AttrListCollection
85 // Similarly, we save start - introduced only for
86 // IOVDbSvc-01-00-00
87 unsigned long long m_start;
88 unsigned long long m_stop;
90 };
91
92
94
95// // Copy from persistent attr list to transient attr list
96// void copy(const CondAttrListCollection_p1 attrList_p, AthenaAttributeList& attrList);
97
98
99// // Copy in new transient attr list
100// void add(const AthenaAttributeList& attrList);
101
102 std::vector<CondAttrListCollection_p1> m_payloadVec;
103
104 // Keep attribute list indexes at top level to allow splitting
105 std::vector<AttrListIndexes> m_attrIndexes;
106
107 std::vector<bool> m_bool;
108 std::vector<char> m_char;
109 std::vector<unsigned char> m_unsignedChar;
110 std::vector<short> m_short;
111 std::vector<unsigned short> m_unsignedShort;
112 std::vector<int> m_int;
113 std::vector<unsigned int> m_unsignedInt;
114 std::vector<long> m_long;
115 std::vector<unsigned long> m_unsignedLong;
116 std::vector<long long> m_longLong;
117 std::vector<unsigned long long> m_unsignedLongLong;
118 std::vector<float> m_float;
119 std::vector<double> m_double;
120// std::vector<long double> m_longDouble;
121 std::vector<std::string> m_string;
122 std::vector<unsigned long long> m_date;
123 std::vector<unsigned long long> m_timeStamp;
124
125 // AttributeList specification
126 std::vector<std::string> m_attrName;
127 std::vector<unsigned int> m_attrType;
128
129};
130
131
132#endif // IOVDBDATAMODEL_IOVPAYLOADCONTAINER_P1_H
std::vector< CondAttrListCollection_p1 > m_payloadVec
std::vector< unsigned char > m_unsignedChar
std::vector< double > m_double
std::vector< unsigned short > m_unsignedShort
std::vector< long long > m_longLong
std::vector< unsigned int > m_unsignedInt
std::vector< std::string > m_attrName
std::vector< unsigned long long > m_unsignedLongLong
std::vector< unsigned int > m_attrType
std::vector< std::string > m_string
std::vector< unsigned long long > m_date
std::vector< unsigned long > m_unsignedLong
std::vector< AttrListIndexes > m_attrIndexes
std::vector< unsigned long long > m_timeStamp