Horizon Official Technical Documentation
CompareGenericTestObjectID Class Reference

Public Member Functions

 CompareGenericTestObjectID (int id)
 
bool operator() (GenericTestObject *obj)
 

Private Attributes

int _id
 

Constructor & Destructor Documentation

◆ CompareGenericTestObjectID()

CompareGenericTestObjectID::CompareGenericTestObjectID ( int  id)
inline
370 : _id(id) { }
int _id
Definition: ReferenceTypeListTest.cpp:381

Member Function Documentation

◆ operator()()

bool CompareGenericTestObjectID::operator() ( GenericTestObject obj)
inline
373 {
374 if (obj->get_id() == _id) {
375 return true;
376 }
377 return false;
378 }
virtual int get_id()
Definition: ReferenceTypeListTest.cpp:118

References _id, and GenericTestObject::get_id().

+ Here is the call graph for this function:

Member Data Documentation

◆ _id

int CompareGenericTestObjectID::_id
private

Referenced by operator()().


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