Containers::find< CONT > Class Template Reference

Public Member Functions

 find (const void *o)
 
bool operator() (const void *cmp) const
 
bool operator() (const v_type &cmp) const
 

Private Types

typedef CONT::value_type v_type
 

Private Attributes

const void * m_obj
 

Detailed Description

template<class CONT>
class Containers::find< CONT >

Definition at line 51 of file KeyedObjectManager.cpp.

Member Typedef Documentation

template<class CONT >
typedef CONT::value_type Containers::find< CONT >::v_type
private

Definition at line 53 of file KeyedObjectManager.cpp.

Constructor & Destructor Documentation

template<class CONT >
Containers::find< CONT >::find ( const void *  o)
inline

Definition at line 55 of file KeyedObjectManager.cpp.

55 : m_obj(o) {}

Member Function Documentation

template<class CONT >
bool Containers::find< CONT >::operator() ( const void *  cmp) const
inline

Definition at line 56 of file KeyedObjectManager.cpp.

56  {
57  return cmp == m_obj;
58  }
template<class CONT >
bool Containers::find< CONT >::operator() ( const v_type cmp) const
inline

Definition at line 59 of file KeyedObjectManager.cpp.

59  {
60  return (*this)(cmp.second);
61  }

Member Data Documentation

template<class CONT >
const void* Containers::find< CONT >::m_obj
private

Definition at line 52 of file KeyedObjectManager.cpp.


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