Main Page
Namespaces
Classes
Package Documentation
CondFormats
Calibration
interface
BlobComplex.h
Go to the documentation of this file.
1
#ifndef BlobComplex_h
2
#define BlobComplex_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <vector>
7
#include <utility>
8
9
struct
BlobComplexData
{
10
BlobComplexData
() {
11
a
= 0;
12
b
= 0;
13
}
14
15
void
fill
(
unsigned
int
&serial);
16
void
print
()
const
;
17
bool
operator==
(
const
BlobComplexData
&rhs)
const
;
18
bool
operator!=
(
const
BlobComplexData
&rhs)
const
{
return
!(*
this
== rhs); }
19
20
unsigned
int
a
,
b
;
21
std::vector<unsigned int>
values
;
22
23
COND_SERIALIZABLE
;
24
};
25
26
struct
BlobComplexContent
{
27
BlobComplexContent
() {}
28
29
void
fill
(
unsigned
int
&serial);
30
void
print
()
const
;
31
bool
operator==
(
const
BlobComplexContent
&rhs)
const
;
32
bool
operator!=
(
const
BlobComplexContent
&rhs)
const
{
return
!(*
this
== rhs); }
33
34
typedef
std::pair<BlobComplexData, unsigned int>
Data
;
35
36
Data
data1
;
37
Data
data2
;
38
Data
data3
;
39
40
COND_SERIALIZABLE
;
41
};
42
43
struct
BlobComplexObjects
{
44
BlobComplexObjects
() {
45
a
= 0;
46
b
= 0;
47
}
48
49
void
fill
(
unsigned
int
&serial);
50
void
print
()
const
;
51
bool
operator==
(
const
BlobComplexObjects
&rhs)
const
;
52
bool
operator!=
(
const
BlobComplexObjects
&rhs)
const
{
return
!(*
this
== rhs); }
53
54
unsigned
int
a
,
b
;
55
std::vector<BlobComplexContent>
content
;
56
57
COND_SERIALIZABLE
;
58
};
59
60
struct
BlobComplex
{
61
BlobComplex
() {}
62
63
void
fill
(
unsigned
int
&serial);
64
void
print
()
const
;
65
bool
operator==
(
const
BlobComplex
&rhs)
const
;
66
bool
operator!=
(
const
BlobComplex
&rhs)
const
{
return
!(*
this
== rhs); }
67
68
std::vector<BlobComplexObjects>
objects
;
69
70
COND_SERIALIZABLE
;
71
};
72
73
#endif
BlobComplexData::BlobComplexData
BlobComplexData()
Definition:
BlobComplex.h:10
BlobComplexData::fill
void fill(unsigned int &serial)
Definition:
BlobComplex.cc:5
BlobComplexContent::Data
std::pair< BlobComplexData, unsigned int > Data
Definition:
BlobComplex.h:34
BlobComplexContent::data3
Data data3
Definition:
BlobComplex.h:38
BlobComplexData::a
unsigned int a
Definition:
BlobComplex.h:20
BlobComplexData
Definition:
BlobComplex.h:9
BlobComplexContent
Definition:
BlobComplex.h:26
BlobComplexData::b
unsigned int b
Definition:
BlobComplex.h:20
BlobComplexObjects
Definition:
BlobComplex.h:43
BlobComplexObjects::b
unsigned int b
Definition:
BlobComplex.h:54
BlobComplexData::operator!=
bool operator!=(const BlobComplexData &rhs) const
Definition:
BlobComplex.h:18
BlobComplex::objects
std::vector< BlobComplexObjects > objects
Definition:
BlobComplex.h:68
BlobComplex::operator!=
bool operator!=(const BlobComplex &rhs) const
Definition:
BlobComplex.h:66
BlobComplexData::print
void print() const
Definition:
BlobComplex.cc:12
BlobComplexContent::data1
Data data1
Definition:
BlobComplex.h:36
BlobComplex
Definition:
BlobComplex.h:60
BlobComplexContent::BlobComplexContent
BlobComplexContent()
Definition:
BlobComplex.h:27
BlobComplexContent::operator!=
bool operator!=(const BlobComplexContent &rhs) const
Definition:
BlobComplex.h:32
BlobComplexObjects::operator!=
bool operator!=(const BlobComplexObjects &rhs) const
Definition:
BlobComplex.h:52
BlobComplexObjects::content
std::vector< BlobComplexContent > content
Definition:
BlobComplex.h:55
BlobComplexData::values
std::vector< unsigned int > values
Definition:
BlobComplex.h:21
BlobComplexObjects::BlobComplexObjects
BlobComplexObjects()
Definition:
BlobComplex.h:44
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
BlobComplex::BlobComplex
BlobComplex()
Definition:
BlobComplex.h:61
BlobComplexData::operator==
bool operator==(const BlobComplexData &rhs) const
Definition:
BlobComplex.cc:19
Serializable.h
BlobComplexContent::data2
Data data2
Definition:
BlobComplex.h:37
Generated for CMSSW Reference Manual by
1.8.11