sk::util::Holder< T, Policy > Class Template Reference

#include <Holder.hxx>

List of all members.

Public Types

typedef Holder< T,
slot::policy::Sharing< T > > 
Sharing
typedef Holder< T,
slot::policy::Cloning< T > > 
Cloning
typedef Holder< T,
slot::policy::Copying< T > > 
Copying
typedef Holder< T,
slot::policy::Aliasing< T > > 
Aliasing

Public Member Functions

 Holder ()
 Holder (const slot::policy::Storing< T > &other)
 Holder (T *object)
 Holder (T &object)
virtual ~Holder ()
Holder< T, Policy > & operator= (const Holder< T, Policy > &other)
Holder< T, Policy > & operator= (const slot::policy::Storing< T > &other)
bool contains (const T &object) const
bool isEmpty () const
bool isOwner () const
T & get () const
void set (T *object)
void set (T &object)
bool remove ()
void clear ()
T * release ()

template<typename T, typename Policy = slot::policy::Storing<T>>
class sk::util::Holder< T, Policy >


Member Typedef Documentation

template<typename T, typename Policy = slot::policy::Storing<T>>
typedef Holder<T, slot::policy::Aliasing<T> > sk::util::Holder< T, Policy >::Aliasing

template<typename T, typename Policy = slot::policy::Storing<T>>
typedef Holder<T, slot::policy::Cloning<T> > sk::util::Holder< T, Policy >::Cloning

template<typename T, typename Policy = slot::policy::Storing<T>>
typedef Holder<T, slot::policy::Copying<T> > sk::util::Holder< T, Policy >::Copying

template<typename T, typename Policy = slot::policy::Storing<T>>
typedef Holder<T, slot::policy::Sharing<T> > sk::util::Holder< T, Policy >::Sharing


Constructor & Destructor Documentation

template<typename T , typename Policy >
sk::util::Holder< T, Policy >::Holder (  )  [inline]

template<typename T, typename Policy >
sk::util::Holder< T, Policy >::Holder ( const slot::policy::Storing< T > &  other  )  [inline]

template<typename T, typename Policy >
sk::util::Holder< T, Policy >::Holder ( T *  object  )  [inline, explicit]

template<typename T, typename Policy >
sk::util::Holder< T, Policy >::Holder ( T &  object  )  [inline, explicit]

template<typename T , typename Policy >
sk::util::Holder< T, Policy >::~Holder (  )  [inline, virtual]


Member Function Documentation

template<typename T , typename Policy >
void sk::util::Holder< T, Policy >::clear (  )  [inline]

template<typename T, typename Policy >
bool sk::util::Holder< T, Policy >::contains ( const T &  object  )  const [inline]

template<typename T , typename Policy >
T & sk::util::Holder< T, Policy >::get (  )  const [inline]

template<typename T , typename Policy >
bool sk::util::Holder< T, Policy >::isEmpty (  )  const [inline]

template<typename T , typename Policy >
bool sk::util::Holder< T, Policy >::isOwner (  )  const [inline]

template<typename T, typename Policy>
sk::util::Holder< T, Policy > & sk::util::Holder< T, Policy >::operator= ( const slot::policy::Storing< T > &  other  )  [inline]

template<typename T, typename Policy>
sk::util::Holder< T, Policy > & sk::util::Holder< T, Policy >::operator= ( const Holder< T, Policy > &  other  )  [inline]

template<typename T , typename Policy >
T * sk::util::Holder< T, Policy >::release (  )  [inline]

template<typename T , typename Policy >
bool sk::util::Holder< T, Policy >::remove (  )  [inline]

template<typename T, typename Policy >
void sk::util::Holder< T, Policy >::set ( T &  object  )  [inline]

template<typename T, typename Policy >
void sk::util::Holder< T, Policy >::set ( T *  object  )  [inline]


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

Generated on Tue Mar 3 12:36:10 2009 for stemkit-cpp by  doxygen 1.5.8