9 for(
unsigned int i = 0;
i < 10;
i++)
10 values.push_back(++serial);
17 for(std::vector<unsigned int>::const_iterator iter =
values.begin();
18 iter !=
values.end(); iter++)
20 << *iter << std::endl;
25 if (
a != rhs.
a)
return false;
26 if (
b != rhs.
b)
return false;
28 std::vector<unsigned int>::const_iterator iter1 =
values.begin();
29 std::vector<unsigned int>::const_iterator iter2 = rhs.
values.begin();
30 while(iter1 !=
values.end())
31 if (*iter1++ != *iter2++)
return false;
37 data1.first.fill(serial);
38 data1.second = ++serial;
39 data2.first.fill(serial);
40 data2.second = ++serial;
41 data3.first.fill(serial);
42 data3.second = ++serial;
49 std::cout <<
" second = " << data.second << std::endl;
65 data1.second != rhs.
data1.second)
return false;
67 data2.second != rhs.
data2.second)
return false;
69 data3.second != rhs.
data3.second)
return false;
77 for(
unsigned int i = 0;
i < 3;
i++) {
87 for(std::vector<BlobComplexContent>::const_iterator iter =
content.begin();
88 iter !=
content.end(); iter++) {
96 if (
a != rhs.
a)
return false;
97 if (
b != rhs.
b)
return false;
99 std::vector<BlobComplexContent>::const_iterator iter1 =
content.begin();
100 std::vector<BlobComplexContent>::const_iterator iter2 = rhs.
content.begin();
102 if (*iter1++ != *iter2++)
return false;
108 for(
unsigned int i = 0;
i < 3;
i++) {
116 for(std::vector<BlobComplexObjects>::const_iterator iter =
objects.begin();
117 iter !=
objects.end(); iter++) {
126 std::vector<BlobComplexObjects>::const_iterator iter1 =
objects.begin();
127 std::vector<BlobComplexObjects>::const_iterator iter2 = rhs.
objects.begin();
129 if (*iter1++ != *iter2++)
return false;
bool operator==(const BlobComplex &rhs) const
void fill(unsigned int &serial)
std::pair< BlobComplexData, unsigned int > Data
bool operator==(const BlobComplexContent &rhs) const
void fill(unsigned int &serial)
bool operator==(const BlobComplexObjects &rhs) const
std::vector< BlobComplexObjects > objects
static void printBlobComplexContentData(const BlobComplexContent::Data &data)
std::vector< BlobComplexContent > content
std::vector< unsigned int > values
void fill(unsigned int &serial)
bool operator==(const BlobComplexData &rhs) const
void fill(unsigned int &serial)