cafe::EventBase::Holder< T > Class Template Reference

Inheritance diagram for cafe::EventBase::Holder< T >:

cafe::EventBase::BaseHolder List of all members.

template<typename T>
class cafe::EventBase::Holder< T >


Public Member Functions

 Holder (const T &value)
virtual ~Holder ()
virtual void clear ()
const T & value () const

Private Member Functions

template<class U> void delete_it (U *p)
template<class U> void delete_it (const U &p)

Private Attributes

_value

Constructor & Destructor Documentation

template<typename T>
cafe::EventBase::Holder< T >::Holder const T &  value  )  [inline]
 

Definition at line 174 of file EventBase.hpp.

References cafe::EventBase::Holder< T >::_value, and cafe::EventBase::Holder< T >::value().

template<typename T>
virtual cafe::EventBase::Holder< T >::~Holder  )  [inline, virtual]
 

Definition at line 175 of file EventBase.hpp.


Member Function Documentation

template<typename T>
virtual void cafe::EventBase::Holder< T >::clear  )  [inline, virtual]
 

Implements cafe::EventBase::BaseHolder.

Definition at line 176 of file EventBase.hpp.

References cafe::EventBase::Holder< T >::_value, and cafe::EventBase::Holder< T >::delete_it().

template<typename T>
template<class U>
void cafe::EventBase::Holder< T >::delete_it const U &  p  )  [inline, private]
 

Definition at line 183 of file EventBase.hpp.

template<typename T>
template<class U>
void cafe::EventBase::Holder< T >::delete_it U *  p  )  [inline, private]
 

Definition at line 180 of file EventBase.hpp.

Referenced by cafe::EventBase::Holder< T >::clear().

template<typename T>
const T& cafe::EventBase::Holder< T >::value  )  const [inline]
 

Definition at line 177 of file EventBase.hpp.

References cafe::EventBase::Holder< T >::_value.

Referenced by cafe::EventBase::get(), and cafe::EventBase::Holder< T >::Holder().


Member Data Documentation

template<typename T>
T cafe::EventBase::Holder< T >::_value [private]
 

Definition at line 184 of file EventBase.hpp.

Referenced by cafe::EventBase::Holder< T >::clear(), cafe::EventBase::Holder< T >::Holder(), and cafe::EventBase::Holder< T >::value().


The documentation for this class was generated from the following file:
Generated on Thu Apr 3 04:14:27 2008 for CAF by doxygen 1.3.4