CASObject by its address.
More...
#include <casfuncobj.h>
Public Member Functions | |
| CASObjectFindByAddr (const CASObject *o) | |
| Constructor. | |
| bool | operator() (const CASObject *o) const |
| Function operator to compare the memory addresses. | |
Private Attributes | |
| const CASObject * | needle |
| The memory address which is looked up. | |
CASObject by its memory address in a list or vector. The address to search for is passed to the constructor.
This class is derived from std::unary_function
Definition at line 454 of file casfuncobj.h.
| CASObjectFindByAddr::CASObjectFindByAddr | ( | const CASObject * | o | ) | [inline] |
Initializes needle.
| o | The pointer which is looked up. |
Definition at line 471 of file casfuncobj.h.
const CASObject* CASObjectFindByAddr::needle [private] |
Holds the pointer which address the other pointers are compared against.
Definition at line 462 of file casfuncobj.h.
1.4.7