Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
SmartPtr< T > Class Template Reference

#include <smartptr.h>

Public Member Functions

 SmartPtr (NoInitClass const &)
 
 SmartPtr (T *realptr=0)
 
 SmartPtr (SmartPtr const &rvalue)
 
 ~SmartPtr (void)
 
 operator T* (void) const
 
 operator long (void) const
 
bool Is_Valid (void) const
 
SmartPtroperator= (SmartPtr const &rvalue)
 
T * operator-> (void) const
 
T & operator* (void) const
 

Detailed Description

template<class T>
class SmartPtr< T >

Definition at line 43 of file smartptr.h.

Constructor & Destructor Documentation

◆ SmartPtr() [1/3]

template<class T>
SmartPtr< T >::SmartPtr ( NoInitClass const & )
inline

Definition at line 46 of file smartptr.h.

◆ SmartPtr() [2/3]

template<class T>
SmartPtr< T >::SmartPtr ( T * realptr = 0)
inline

Definition at line 47 of file smartptr.h.

◆ SmartPtr() [3/3]

template<class T>
SmartPtr< T >::SmartPtr ( SmartPtr< T > const & rvalue)
inline

Definition at line 48 of file smartptr.h.

◆ ~SmartPtr()

template<class T>
SmartPtr< T >::~SmartPtr ( void )
inline

Definition at line 49 of file smartptr.h.

Member Function Documentation

◆ Is_Valid()

template<class T>
bool SmartPtr< T >::Is_Valid ( void ) const
inline

Definition at line 55 of file smartptr.h.

◆ operator long()

template<class T>
SmartPtr< T >::operator long ( void ) const
inline

Definition at line 53 of file smartptr.h.

◆ operator T*()

template<class T>
SmartPtr< T >::operator T* ( void ) const
inline

Definition at line 51 of file smartptr.h.

◆ operator*()

template<class T>
T & SmartPtr< T >::operator* ( void ) const
inline

Definition at line 64 of file smartptr.h.

◆ operator->()

template<class T>
T * SmartPtr< T >::operator-> ( void ) const
inline

Definition at line 63 of file smartptr.h.

◆ operator=()

template<class T>
SmartPtr & SmartPtr< T >::operator= ( SmartPtr< T > const & rvalue)
inline

Definition at line 62 of file smartptr.h.


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