CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
bool operator==(const BlobComplex &rhs) const
Definition: BlobComplex.cc:115
void fill(unsigned int &serial)
Definition: BlobComplex.cc:5
std::pair< BlobComplexData, unsigned int > Data
Definition: BlobComplex.h:34
bool operator==(const BlobComplexContent &rhs) const
Definition: BlobComplex.cc:58
unsigned int a
Definition: BlobComplex.h:54
void print() const
Definition: BlobComplex.cc:77
unsigned int a
Definition: BlobComplex.h:20
void fill(unsigned int &serial)
Definition: BlobComplex.cc:34
unsigned int b
Definition: BlobComplex.h:20
unsigned int b
Definition: BlobComplex.h:54
bool operator!=(const BlobComplexData &rhs) const
Definition: BlobComplex.h:18
bool operator==(const BlobComplexObjects &rhs) const
Definition: BlobComplex.cc:86
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
void print() const
Definition: BlobComplex.cc:49
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
void print() const
Definition: BlobComplex.cc:108
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void fill(unsigned int &serial)
Definition: BlobComplex.cc:101
bool operator==(const BlobComplexData &rhs) const
Definition: BlobComplex.cc:19
void fill(unsigned int &serial)
Definition: BlobComplex.cc:68