Horizon Official Technical Documentation
GenericTestObject Class Reference
+ Inheritance diagram for GenericTestObject:

Public Member Functions

 GenericTestObject (int id, char type)
 
virtual int get_id ()
 
virtual void set_id (int id)
 
char get_type ()
 

Private Attributes

int _id
 
char _type
 

Constructor & Destructor Documentation

◆ GenericTestObject()

GenericTestObject::GenericTestObject ( int  id,
char  type 
)
inline
116: _id(id), _type(type) { }
int _id
Definition: ReferenceTypeListTest.cpp:124
char _type
Definition: ReferenceTypeListTest.cpp:125

Member Function Documentation

◆ get_id()

virtual int GenericTestObject::get_id ( )
inlinevirtual
118{ return _id; }

References _id.

Referenced by BOOST_AUTO_TEST_CASE(), and CompareGenericTestObjectID::operator()().

+ Here is the caller graph for this function:

◆ get_type()

char GenericTestObject::get_type ( )
inline
121{ return _type; }

References _type.

◆ set_id()

virtual void GenericTestObject::set_id ( int  id)
inlinevirtual
119{ _id = id; }

References _id.

Member Data Documentation

◆ _id

int GenericTestObject::_id
private

Referenced by get_id(), and set_id().

◆ _type

char GenericTestObject::_type
private

Referenced by get_type().


The documentation for this class was generated from the following file: