Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
12
void
fill
(
unsigned
int
&serial);
13
void
print
()
const
;
14
bool
operator ==
(
const
BlobComplexData
&rhs)
const
;
15
bool
operator !=
(
const
BlobComplexData
&rhs)
const
16
{
return
!(*
this
== rhs); }
17
18
unsigned
int
a
,
b
;
19
std::vector<unsigned int>
values
;
20
21
COND_SERIALIZABLE
;
22
};
23
24
struct
BlobComplexContent
{
25
BlobComplexContent
() {}
26
27
void
fill
(
unsigned
int
&serial);
28
void
print
()
const
;
29
bool
operator ==
(
const
BlobComplexContent
&rhs)
const
;
30
bool
operator !=
(
const
BlobComplexContent
&rhs)
const
31
{
return
!(*
this
== rhs); }
32
33
typedef
std::pair<BlobComplexData, unsigned int>
Data
;
34
35
Data
data1
;
36
Data
data2
;
37
Data
data3
;
38
39
COND_SERIALIZABLE
;
40
};
41
42
struct
BlobComplexObjects
{
43
BlobComplexObjects
() {}
44
45
void
fill
(
unsigned
int
&serial);
46
void
print
()
const
;
47
bool
operator ==
(
const
BlobComplexObjects
&rhs)
const
;
48
bool
operator !=
(
const
BlobComplexObjects
&rhs)
const
49
{
return
!(*
this
== rhs); }
50
51
unsigned
int
a
,
b
;
52
std::vector<BlobComplexContent>
content
;
53
54
COND_SERIALIZABLE
;
55
};
56
57
struct
BlobComplex
{
58
BlobComplex
() {}
59
60
void
fill
(
unsigned
int
&serial);
61
void
print
()
const
;
62
bool
operator ==
(
const
BlobComplex
&rhs)
const
;
63
bool
operator !=
(
const
BlobComplex
&rhs)
const
64
{
return
!(*
this
== rhs); }
65
66
std::vector<BlobComplexObjects>
objects
;
67
68
COND_SERIALIZABLE
;
69
};
70
71
#endif
BlobComplexData::BlobComplexData
BlobComplexData()
Definition:
BlobComplex.h:10
BlobComplex::operator==
bool operator==(const BlobComplex &rhs) const
Definition:
BlobComplex.cc:123
BlobComplexData::fill
void fill(unsigned int &serial)
Definition:
BlobComplex.cc:5
BlobComplexContent::Data
std::pair< BlobComplexData, unsigned int > Data
Definition:
BlobComplex.h:33
BlobComplexContent::operator==
bool operator==(const BlobComplexContent &rhs) const
Definition:
BlobComplex.cc:62
BlobComplexObjects::a
unsigned int a
Definition:
BlobComplex.h:51
BlobComplexObjects::print
void print() const
Definition:
BlobComplex.cc:83
BlobComplexContent::data3
Data data3
Definition:
BlobComplex.h:37
BlobComplexData::a
unsigned int a
Definition:
BlobComplex.h:18
BlobComplexContent::fill
void fill(unsigned int &serial)
Definition:
BlobComplex.cc:35
BlobComplexData
Definition:
BlobComplex.h:9
BlobComplexContent
Definition:
BlobComplex.h:24
BlobComplexData::b
unsigned int b
Definition:
BlobComplex.h:18
BlobComplexObjects
Definition:
BlobComplex.h:42
BlobComplexObjects::b
unsigned int b
Definition:
BlobComplex.h:51
BlobComplexData::operator!=
bool operator!=(const BlobComplexData &rhs) const
Definition:
BlobComplex.h:15
BlobComplexObjects::operator==
bool operator==(const BlobComplexObjects &rhs) const
Definition:
BlobComplex.cc:94
BlobComplex::objects
std::vector< BlobComplexObjects > objects
Definition:
BlobComplex.h:66
BlobComplex::operator!=
bool operator!=(const BlobComplex &rhs) const
Definition:
BlobComplex.h:63
BlobComplexData::print
void print() const
Definition:
BlobComplex.cc:13
BlobComplexContent::print
void print() const
Definition:
BlobComplex.cc:52
BlobComplexContent::data1
Data data1
Definition:
BlobComplex.h:35
BlobComplex
Definition:
BlobComplex.h:57
BlobComplexContent::BlobComplexContent
BlobComplexContent()
Definition:
BlobComplex.h:25
BlobComplexContent::operator!=
bool operator!=(const BlobComplexContent &rhs) const
Definition:
BlobComplex.h:30
BlobComplexObjects::operator!=
bool operator!=(const BlobComplexObjects &rhs) const
Definition:
BlobComplex.h:48
BlobComplexObjects::content
std::vector< BlobComplexContent > content
Definition:
BlobComplex.h:52
BlobComplexData::values
std::vector< unsigned int > values
Definition:
BlobComplex.h:19
BlobComplexObjects::BlobComplexObjects
BlobComplexObjects()
Definition:
BlobComplex.h:43
BlobComplex::print
void print() const
Definition:
BlobComplex.cc:114
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:37
BlobComplex::BlobComplex
BlobComplex()
Definition:
BlobComplex.h:58
BlobComplex::fill
void fill(unsigned int &serial)
Definition:
BlobComplex.cc:106
BlobComplexData::operator==
bool operator==(const BlobComplexData &rhs) const
Definition:
BlobComplex.cc:23
BlobComplexObjects::fill
void fill(unsigned int &serial)
Definition:
BlobComplex.cc:73
Serializable.h
BlobComplexContent::data2
Data data2
Definition:
BlobComplex.h:36
Generated for CMSSW Reference Manual by
1.8.5