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 
16  void fill(unsigned int &serial);
17  void print() const;
18  bool operator == (const BlobComplexData &rhs) const;
19  bool operator != (const BlobComplexData &rhs) const
20  { return !(*this == rhs); }
21 
22  unsigned int a, b;
23  std::vector<unsigned int> values;
24 
26 };
27 
30 
31  void fill(unsigned int &serial);
32  void print() const;
33  bool operator == (const BlobComplexContent &rhs) const;
34  bool operator != (const BlobComplexContent &rhs) const
35  { return !(*this == rhs); }
36 
37  typedef std::pair<BlobComplexData, unsigned int> Data;
38 
39  Data data1;
40  Data data2;
41  Data data3;
42 
44 };
45 
48  a = 0;
49  b = 0;
50  }
51 
52  void fill(unsigned int &serial);
53  void print() const;
54  bool operator == (const BlobComplexObjects &rhs) const;
55  bool operator != (const BlobComplexObjects &rhs) const
56  { return !(*this == rhs); }
57 
58  unsigned int a, b;
59  std::vector<BlobComplexContent> content;
60 
62 };
63 
64 struct BlobComplex {
66 
67  void fill(unsigned int &serial);
68  void print() const;
69  bool operator == (const BlobComplex &rhs) const;
70  bool operator != (const BlobComplex &rhs) const
71  { return !(*this == rhs); }
72 
73  std::vector<BlobComplexObjects> objects;
74 
76 };
77 
78 #endif
void fill(unsigned int &serial)
Definition: BlobComplex.cc:5
std::pair< BlobComplexData, unsigned int > Data
Definition: BlobComplex.h:37
unsigned int a
Definition: BlobComplex.h:22
unsigned int b
Definition: BlobComplex.h:22
unsigned int b
Definition: BlobComplex.h:58
bool operator!=(const BlobComplexData &rhs) const
Definition: BlobComplex.h:19
std::vector< BlobComplexObjects > objects
Definition: BlobComplex.h:73
void print() const
Definition: BlobComplex.cc:13
std::vector< BlobComplexContent > content
Definition: BlobComplex.h:59
std::vector< unsigned int > values
Definition: BlobComplex.h:23
#define COND_SERIALIZABLE
Definition: Serializable.h:38
bool operator==(const BlobComplexData &rhs) const
Definition: BlobComplex.cc:23