CLookupAny< T > Class Template Reference

#include <clookup.h>

List of all members.


class  CIterator

Public Member Functions

 CLookupAny (T default_value)
const T get (void *key) const
void put (void *key, T value)
bool exists (void *key) const

Private Attributes

CLookupPtr< T > m_lookup_ptr


class CIterator

Detailed Description

template<class T>
class CLookupAny< T >

CLookupAny<T> Lookup from void pointer to 'T' T must be a compact data structure that allows copying by the '=' operator

Constructor & Destructor Documentation

template<class T >
CLookupAny< T >::CLookupAny ( default_value  )  [inline]

Member Function Documentation

template<class T >
bool CLookupAny< T >::exists ( void *  key  )  const [inline]
template<class T >
const T CLookupAny< T >::get ( void *  key  )  const [inline]

References CLookupPtr< T >::put().

Here is the call graph for this function:

template<class T >
void CLookupAny< T >::put ( void *  key,
) [inline]

Friends And Related Function Documentation

template<class T >
friend class CIterator [friend]

Member Data Documentation

template<class T >
T CLookupAny< T >::m_default_value [private]
template<class T >
CLookupPtr<T> CLookupAny< T >::m_lookup_ptr [private]

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