cgma
|
#include <TDCompare.hpp>
Public Member Functions | |
TDCompare () | |
virtual | ~TDCompare () |
void | set_compare_partner (RefEntity *partner) |
RefEntity * | get_compare_partner () const |
Static Public Member Functions | |
static int | is_compare (const ToolData *td) |
Private Attributes | |
RefEntity * | comparePartner_ |
Definition at line 49 of file TDCompare.hpp.
TDCompare::TDCompare | ( | ) | [inline] |
Definition at line 89 of file TDCompare.hpp.
: comparePartner_(NULL) { }
TDCompare::~TDCompare | ( | ) | [inline, virtual] |
Definition at line 103 of file TDCompare.hpp.
{ }
RefEntity * TDCompare::get_compare_partner | ( | ) | const [inline] |
Definition at line 134 of file TDCompare.hpp.
{ return comparePartner_ ; }
static int TDCompare::is_compare | ( | const ToolData * | td | ) | [inline, static] |
Definition at line 63 of file TDCompare.hpp.
{return (dynamic_cast<TDCompare*>(const_cast<ToolData*>(td)) != NULL);}
void TDCompare::set_compare_partner | ( | RefEntity * | partner | ) | [inline] |
Definition at line 118 of file TDCompare.hpp.
{ comparePartner_ = partner ; }
RefEntity* TDCompare::comparePartner_ [private] |
Definition at line 74 of file TDCompare.hpp.