CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BlobComplex.h
Go to the documentation of this file.
1 #ifndef BlobComplex_h
2 #define BlobComplex_h
3 
4 #include <vector>
5 #include <utility>
6 
9 
10  void fill(unsigned int &serial);
11  void print() const;
12  bool operator == (const BlobComplexData &rhs) const;
13  bool operator != (const BlobComplexData &rhs) const
14  { return !(*this == rhs); }
15 
16  unsigned int a, b;
17  std::vector<unsigned int> values;
18 };
19 
22 
23  void fill(unsigned int &serial);
24  void print() const;
25  bool operator == (const BlobComplexContent &rhs) const;
26  bool operator != (const BlobComplexContent &rhs) const
27  { return !(*this == rhs); }
28 
29  typedef std::pair<BlobComplexData, unsigned int> Data;
30 
34 };
35 
38 
39  void fill(unsigned int &serial);
40  void print() const;
41  bool operator == (const BlobComplexObjects &rhs) const;
42  bool operator != (const BlobComplexObjects &rhs) const
43  { return !(*this == rhs); }
44 
45  unsigned int a, b;
46  std::vector<BlobComplexContent> content;
47 };
48 
49 struct BlobComplex {
51 
52  void fill(unsigned int &serial);
53  void print() const;
54  bool operator == (const BlobComplex &rhs) const;
55  bool operator != (const BlobComplex &rhs) const
56  { return !(*this == rhs); }
57 
58  std::vector<BlobComplexObjects> objects;
59 };
60 
61 #endif
bool operator==(const BlobComplex &rhs) const
Definition: BlobComplex.cc:123
void fill(unsigned int &serial)
Definition: BlobComplex.cc:5
std::pair< BlobComplexData, unsigned int > Data
Definition: BlobComplex.h:29
bool operator==(const BlobComplexContent &rhs) const
Definition: BlobComplex.cc:62
unsigned int a
Definition: BlobComplex.h:45
void print() const
Definition: BlobComplex.cc:83
unsigned int a
Definition: BlobComplex.h:16
void fill(unsigned int &serial)
Definition: BlobComplex.cc:35
unsigned int b
Definition: BlobComplex.h:16
unsigned int b
Definition: BlobComplex.h:45
bool operator!=(const BlobComplexData &rhs) const
Definition: BlobComplex.h:13
bool operator==(const BlobComplexObjects &rhs) const
Definition: BlobComplex.cc:94
std::vector< BlobComplexObjects > objects
Definition: BlobComplex.h:58
bool operator!=(const BlobComplex &rhs) const
Definition: BlobComplex.h:55
void print() const
Definition: BlobComplex.cc:13
void print() const
Definition: BlobComplex.cc:52
bool operator!=(const BlobComplexContent &rhs) const
Definition: BlobComplex.h:26
bool operator!=(const BlobComplexObjects &rhs) const
Definition: BlobComplex.h:42
std::vector< BlobComplexContent > content
Definition: BlobComplex.h:46
std::vector< unsigned int > values
Definition: BlobComplex.h:17
void print() const
Definition: BlobComplex.cc:114
void fill(unsigned int &serial)
Definition: BlobComplex.cc:106
bool operator==(const BlobComplexData &rhs) const
Definition: BlobComplex.cc:23
void fill(unsigned int &serial)
Definition: BlobComplex.cc:73