tnt::PointerObject< data_type, destroyPolicy > Class Template Reference

#include <tnt/object.h>

Inheritance diagram for tnt::PointerObject< data_type, destroyPolicy >:
tnt::Object cxxtools::SimpleRefCounted

Public Member Functions

 PointerObject (data_type *ptr=0)
 ~PointerObject ()
void set (data_type *ptr)
data_type * get ()
- Public Member Functions inherited from tnt::Object
virtual ~Object ()
template<typename data_type >
data_type * cast ()
- Public Member Functions inherited from cxxtools::SimpleRefCounted
 SimpleRefCounted ()
 SimpleRefCounted (unsigned refs_)
virtual ~SimpleRefCounted ()
virtual unsigned addRef ()
virtual unsigned release ()
unsigned refs () const

Additional Inherited Members

- Public Types inherited from tnt::Object
typedef cxxtools::SmartPtr
< Object
pointer_type

Constructor & Destructor Documentation

template<typename data_type, template< class > class destroyPolicy = cxxtools::DeletePolicy>
tnt::PointerObject< data_type, destroyPolicy >::PointerObject ( data_type *  ptr = 0)
inlineexplicit
template<typename data_type, template< class > class destroyPolicy = cxxtools::DeletePolicy>
tnt::PointerObject< data_type, destroyPolicy >::~PointerObject ( )
inline

Member Function Documentation

template<typename data_type, template< class > class destroyPolicy = cxxtools::DeletePolicy>
data_type* tnt::PointerObject< data_type, destroyPolicy >::get ( )
inline
template<typename data_type, template< class > class destroyPolicy = cxxtools::DeletePolicy>
void tnt::PointerObject< data_type, destroyPolicy >::set ( data_type *  ptr)
inline

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