#include <Holder.hxx>
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 () |
typedef Holder<T, slot::policy::Aliasing<T> > sk::util::Holder< T, Policy >::Aliasing |
typedef Holder<T, slot::policy::Cloning<T> > sk::util::Holder< T, Policy >::Cloning |
typedef Holder<T, slot::policy::Copying<T> > sk::util::Holder< T, Policy >::Copying |
typedef Holder<T, slot::policy::Sharing<T> > sk::util::Holder< T, Policy >::Sharing |
sk::util::Holder< T, Policy >::Holder | ( | ) | [inline] |
sk::util::Holder< T, Policy >::Holder | ( | const slot::policy::Storing< T > & | other | ) | [inline] |
sk::util::Holder< T, Policy >::Holder | ( | T * | object | ) | [inline, explicit] |
sk::util::Holder< T, Policy >::Holder | ( | T & | object | ) | [inline, explicit] |
sk::util::Holder< T, Policy >::~Holder | ( | ) | [inline, virtual] |
void sk::util::Holder< T, Policy >::clear | ( | ) | [inline] |
bool sk::util::Holder< T, Policy >::contains | ( | const T & | object | ) | const [inline] |
T & sk::util::Holder< T, Policy >::get | ( | ) | const [inline] |
Referenced by sk::io::FileStreamCoupler< Stream >::getFile(), and sk::rt::Locker< L >::~Locker().
bool sk::util::Holder< T, Policy >::isEmpty | ( | ) | const [inline] |
bool sk::util::Holder< T, Policy >::isOwner | ( | ) | const [inline] |
sk::util::Holder< T, Policy > & sk::util::Holder< T, Policy >::operator= | ( | const slot::policy::Storing< T > & | other | ) | [inline] |
sk::util::Holder< T, Policy > & sk::util::Holder< T, Policy >::operator= | ( | const Holder< T, Policy > & | other | ) | [inline] |
Referenced by sk::util::Holder< T, Policy >::operator=().
T * sk::util::Holder< T, Policy >::release | ( | ) | [inline] |
bool sk::util::Holder< T, Policy >::remove | ( | ) | [inline] |
void sk::util::Holder< T, Policy >::set | ( | T & | object | ) | [inline] |
void sk::util::Holder< T, Policy >::set | ( | T * | object | ) | [inline] |