#include <BlobComplex.h>
Public Member Functions | |
BlobComplexObjects () | |
void | fill (unsigned int &serial) |
bool | operator!= (const BlobComplexObjects &rhs) const |
bool | operator== (const BlobComplexObjects &rhs) const |
void | print () const |
Public Attributes | |
unsigned int | a |
unsigned int | b |
std::vector< BlobComplexContent > | content |
Definition at line 36 of file BlobComplex.h.
BlobComplexObjects::BlobComplexObjects | ( | ) | [inline] |
Definition at line 37 of file BlobComplex.h.
{}
void BlobComplexObjects::fill | ( | unsigned int & | serial | ) |
bool BlobComplexObjects::operator!= | ( | const BlobComplexObjects & | rhs | ) | const [inline] |
Definition at line 42 of file BlobComplex.h.
{ return !(*this == rhs); }
bool BlobComplexObjects::operator== | ( | const BlobComplexObjects & | rhs | ) | const |
Definition at line 94 of file BlobComplex.cc.
{ if (a != rhs.a) return false; if (b != rhs.b) return false; if (content.size() != rhs.content.size()) return false; std::vector<BlobComplexContent>::const_iterator iter1 = content.begin(); std::vector<BlobComplexContent>::const_iterator iter2 = rhs.content.begin(); while(iter1 != content.end()) if (*iter1++ != *iter2++) return false; return true; }
void BlobComplexObjects::print | ( | void | ) | const |
Definition at line 83 of file BlobComplex.cc.
References a, b, content, and gather_cfg::cout.
unsigned int BlobComplexObjects::a |
Definition at line 45 of file BlobComplex.h.
Referenced by fill(), operator==(), and print().
unsigned int BlobComplexObjects::b |
Definition at line 45 of file BlobComplex.h.
Referenced by fill(), operator==(), and print().
std::vector<BlobComplexContent> BlobComplexObjects::content |
Definition at line 46 of file BlobComplex.h.
Referenced by fill(), operator==(), and print().