CASObject.
More...
#include <casfuncobj.h>
Public Member Functions | |
| CASTypeFinder_EQ (const CASObject *o) | |
Takes the CASObject to which the others are compared. | |
| bool | operator() (const CASObject *o) const |
Compares two CASObjects for identical type. | |
Private Attributes | |
| const CASObject * | object |
Holds the pointer to the CASObject. | |
CASObject compared against the others has to be passed to the constructor.
In short, it can be used to find CASObject of the same type. However, the objects do not necessarily represent the same term or value.
Definition at line 143 of file casfuncobj.h.
| CASTypeFinder_EQ::CASTypeFinder_EQ | ( | const CASObject * | o | ) | [inline, explicit] |
Takes the pointer to the CASObject to which the other objects are compared.
| o | The pointer to the CASObject to which the others are compared against by calling operator(). |
Definition at line 163 of file casfuncobj.h.
| bool CASTypeFinder_EQ::operator() | ( | const CASObject * | o | ) | const [inline] |
It takes a pointer to a CASObject and compares the type of that object to the one pointed to by o.
| o | Pointer to the CASObject of which the type is compared to the one stored in o. |
true if the type of both objects are equal, e.g. GetType() yields the same value. Else it returns false. Definition at line 178 of file casfuncobj.h.
const CASObject* CASTypeFinder_EQ::object [private] |
Holds the pointer to the CASObject to which the other objects are compared.
Definition at line 151 of file casfuncobj.h.
1.4.7