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 
36  Data data1;
37  Data data2;
38  Data data3;
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
void fill(unsigned int &serial)
Definition: BlobComplex.cc:5
std::pair< BlobComplexData, unsigned int > Data
Definition: BlobComplex.h:34
unsigned int a
Definition: BlobComplex.h:20
unsigned int b
Definition: BlobComplex.h:20
unsigned int b
Definition: BlobComplex.h:54
bool operator!=(const BlobComplexData &rhs) const
Definition: BlobComplex.h:18
std::vector< BlobComplexObjects > objects
Definition: BlobComplex.h:68
bool operator!=(const BlobComplex &rhs) const
Definition: BlobComplex.h:66
void print() const
Definition: BlobComplex.cc:12
bool operator!=(const BlobComplexContent &rhs) const
Definition: BlobComplex.h:32
bool operator!=(const BlobComplexObjects &rhs) const
Definition: BlobComplex.h:52
std::vector< BlobComplexContent > content
Definition: BlobComplex.h:55
std::vector< unsigned int > values
Definition: BlobComplex.h:21
#define COND_SERIALIZABLE
Definition: Serializable.h:38
bool operator==(const BlobComplexData &rhs) const
Definition: BlobComplex.cc:19