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