CMS 3D CMS Logo

BlobComplex.h
Go to the documentation of this file.
1 #ifndef BlobComplex_h
2 #define BlobComplex_h
3 
5 
6 #include <vector>
7 #include <utility>
8 
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 
24 };
25 
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 
39 
41 };
42 
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 
58 };
59 
60 struct 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 
71 };
72 
73 #endif
BlobComplexObjects::a
unsigned int a
Definition: BlobComplex.h:54
BlobComplexObjects::fill
void fill(unsigned int &serial)
Definition: BlobComplex.cc:68
BlobComplexData::BlobComplexData
BlobComplexData()
Definition: BlobComplex.h:10
BlobComplexData::b
unsigned int b
Definition: BlobComplex.h:20
BlobComplexContent
Definition: BlobComplex.h:26
BlobComplexObjects::content
std::vector< BlobComplexContent > content
Definition: BlobComplex.h:55
BlobComplex
Definition: BlobComplex.h:60
BlobComplexObjects::b
unsigned int b
Definition: BlobComplex.h:54
BlobComplexData::fill
void fill(unsigned int &serial)
Definition: BlobComplex.cc:5
BlobComplexContent::data3
Data data3
Definition: BlobComplex.h:38
BlobComplexData::print
void print() const
Definition: BlobComplex.cc:12
BlobComplexObjects
Definition: BlobComplex.h:43
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
BlobComplexContent::fill
void fill(unsigned int &serial)
Definition: BlobComplex.cc:34
BlobComplexContent::print
void print() const
Definition: BlobComplex.cc:49
BlobComplex::objects
std::vector< BlobComplexObjects > objects
Definition: BlobComplex.h:68
BlobComplexData::a
unsigned int a
Definition: BlobComplex.h:20
BlobComplex::operator==
bool operator==(const BlobComplex &rhs) const
Definition: BlobComplex.cc:115
BlobComplexData
Definition: BlobComplex.h:9
BlobComplexContent::Data
std::pair< BlobComplexData, unsigned int > Data
Definition: BlobComplex.h:34
BlobComplexObjects::operator!=
bool operator!=(const BlobComplexObjects &rhs) const
Definition: BlobComplex.h:52
BlobComplexContent::data2
Data data2
Definition: BlobComplex.h:37
BlobComplexData::values
std::vector< unsigned int > values
Definition: BlobComplex.h:21
BlobComplex::print
void print() const
Definition: BlobComplex.cc:108
BlobComplexData::operator==
bool operator==(const BlobComplexData &rhs) const
Definition: BlobComplex.cc:19
BlobComplexContent::operator==
bool operator==(const BlobComplexContent &rhs) const
Definition: BlobComplex.cc:58
BlobComplexContent::operator!=
bool operator!=(const BlobComplexContent &rhs) const
Definition: BlobComplex.h:32
BlobComplexData::operator!=
bool operator!=(const BlobComplexData &rhs) const
Definition: BlobComplex.h:18
Serializable.h
BlobComplexObjects::print
void print() const
Definition: BlobComplex.cc:77
BlobComplex::operator!=
bool operator!=(const BlobComplex &rhs) const
Definition: BlobComplex.h:66
BlobComplexContent::data1
Data data1
Definition: BlobComplex.h:36
BlobComplexObjects::operator==
bool operator==(const BlobComplexObjects &rhs) const
Definition: BlobComplex.cc:86
BlobComplexObjects::BlobComplexObjects
BlobComplexObjects()
Definition: BlobComplex.h:44
BlobComplex::BlobComplex
BlobComplex()
Definition: BlobComplex.h:61
BlobComplex::fill
void fill(unsigned int &serial)
Definition: BlobComplex.cc:101
BlobComplexContent::BlobComplexContent
BlobComplexContent()
Definition: BlobComplex.h:27