uLib-0.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
uLib::SmartPointer< T > Class Template Reference

#include <Core/SmartPointer.h>

Public Member Functions

 SmartPointer (T *ptr=NULL)
 
 SmartPointer (T &ref)
 
 SmartPointer (const SmartPointer &copy) throw ()
 
 SmartPointer (SmartPointer *copy) throw ()
 
virtual ~SmartPointer ()
 
SmartPointeroperator= (const SmartPointer &copy)
 
T & operator* () const throw ()
 
T * operator-> () const throw ()
 
T * get () const throw ()
 
bool unique () const throw ()
 

Constructor & Destructor Documentation

template<typename T>
uLib::SmartPointer< T >::SmartPointer ( T *  ptr = NULL)
inlineexplicit
template<typename T>
uLib::SmartPointer< T >::SmartPointer ( T &  ref)
inline
template<typename T>
uLib::SmartPointer< T >::SmartPointer ( const SmartPointer< T > &  copy)
throw (
)
inline
template<typename T>
uLib::SmartPointer< T >::SmartPointer ( SmartPointer< T > *  copy)
throw (
)
inline
template<typename T>
virtual uLib::SmartPointer< T >::~SmartPointer ( )
inlinevirtual

Member Function Documentation

template<typename T>
T* uLib::SmartPointer< T >::get ( ) const
throw (
)
inline
template<typename T>
T& uLib::SmartPointer< T >::operator* ( ) const
throw (
)
inline
template<typename T>
T* uLib::SmartPointer< T >::operator-> ( ) const
throw (
)
inline
template<typename T>
SmartPointer& uLib::SmartPointer< T >::operator= ( const SmartPointer< T > &  copy)
inline
template<typename T>
bool uLib::SmartPointer< T >::unique ( ) const
throw (
)
inline

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