#include <Inheritances.h>
Public Member Functions | |
bool | operator!= (const TestData &ref) const |
bool | operator== (const TestData &ref) const |
TestData (int payloadID) | |
TestData () | |
Public Attributes | |
int | commonInt |
std::vector< std::vector< int > > | commonIntVector2d |
Definition at line 4 of file Inheritances.h.
TestData::TestData | ( | int | payloadID | ) |
Definition at line 3 of file Inheritances.cc.
References commonIntVector2d, i, j, and VSIZE.
: commonInt(payloadID), commonIntVector2d() { for(int i =0; i<VSIZE; i++) { commonIntVector2d.push_back ( std::vector<int>() ); for(int j=0; j<VSIZE; j++) { commonIntVector2d[i].push_back(payloadID); } } }
TestData::TestData | ( | ) |
Definition at line 14 of file Inheritances.cc.
{}
bool TestData::operator!= | ( | const TestData & | ref | ) | const |
Definition at line 32 of file Inheritances.cc.
References operator==().
{ return !operator==(ref); }
bool TestData::operator== | ( | const TestData & | ref | ) | const |
Definition at line 15 of file Inheritances.cc.
References commonInt, commonIntVector2d, gather_cfg::cout, i, j, and VSIZE.
Referenced by operator!=().
Definition at line 7 of file Inheritances.h.
Referenced by TestPayloadClass::DataToFile(), TestInheritance::operator==(), operator==(), and TestInheritance::TestInheritance().
std::vector<std::vector<int> > TestData::commonIntVector2d |
Definition at line 8 of file Inheritances.h.
Referenced by TestPayloadClass::DataToFile(), TestInheritance::operator==(), operator==(), TestData(), and TestInheritance::TestInheritance().