The Gaudi Framework  master (594c33fa)
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 69 of file KeyedObjectManager.cpp.

Member Typedef Documentation

◆ v_type

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

Definition at line 71 of file KeyedObjectManager.cpp.

Constructor & Destructor Documentation

◆ find()

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

Definition at line 74 of file KeyedObjectManager.cpp.

74 : m_obj( o ) {}

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 76 of file KeyedObjectManager.cpp.

76 { return ( *this )( cmp.second ); }

◆ operator()() [2/2]

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

Definition at line 75 of file KeyedObjectManager.cpp.

75 { return cmp == m_obj; }

Member Data Documentation

◆ m_obj

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

Definition at line 70 of file KeyedObjectManager.cpp.


The documentation for this class was generated from the following file:
Containers::find::m_obj
const void * m_obj
Definition: KeyedObjectManager.cpp:70