CASObjectFindByAddr Class Reference
[SupportClasses]

Used to find a CASObject by its address. More...

#include <casfuncobj.h>

List of all members.

Public Member Functions

 CASObjectFindByAddr (const CASObject *o)
 Constructor.
bool operator() (const CASObject *o) const
 Function operator to compare the memory addresses.

Private Attributes

const CASObjectneedle
 The memory address which is looked up.


Detailed Description

Used to find a 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.


Constructor & Destructor Documentation

CASObjectFindByAddr::CASObjectFindByAddr ( const CASObject o  )  [inline]

Initializes needle.

Parameters:
o The pointer which is looked up.

Definition at line 471 of file casfuncobj.h.


Member Data Documentation

const CASObject* CASObjectFindByAddr::needle [private]

Holds the pointer which address the other pointers are compared against.

Definition at line 462 of file casfuncobj.h.


The documentation for this class was generated from the following files:
Generated on Sun Dec 31 01:57:31 2006 for ECAS by  doxygen 1.4.7