zorba::SmartPtr

#include <zorba/smart_ptr.h>

Protected Attibutes

T *p

Protected Functions

inline SmartPtr &assign( const SmartPtr< otherT > & rhs )
inline voidinit()

Public Functions

const inline T *get()
const inline boolisNull()
const inline operator const T *()
inline operator T *()
const inline booloperator!=SmartPtr const & h )
const inline booloperator!=( T const * pp )
const inline T &operator*()
const inline T *operator->()
const inline booloperator<( const SmartPtr & h )
inline SmartPtr &operator=SmartPtr const & rhs )
inline SmartPtr &operator=SmartPtr< otherT > const & rhs )
const inline booloperator==SmartPtr const & h )
const inline booloperator==( T const * pp )
inline SmartPtr( T * realPtr=0 )
inline SmartPtrSmartPtr const & rhs )
inline ~SmartPtr()

Protected Attibutes

p

T * p

Protected Functions

assign

inline SmartPtr & assign(
    const SmartPtr< otherT > & rhs
)

init

inline void init()

Public Functions

get

const inline T * get()

isNull

const inline bool isNull()

operator const T *

const inline  operator const T *()

operator T *

inline  operator T *()

operator!=

const inline bool operator!=(
    SmartPtr const & h
)

operator!=

const inline bool operator!=(
    T const * pp
)

operator*

const inline T & operator*()

operator->

const inline T * operator->()

operator<

const inline bool operator<(
    const SmartPtr & h
)

operator=

inline SmartPtr & operator=(
    SmartPtr const & rhs
)

operator=

inline SmartPtr & operator=(
    SmartPtr< otherT > const & rhs
)

operator==

const inline bool operator==(
    SmartPtr const & h
)

operator==

const inline bool operator==(
    T const * pp
)

SmartPtr

inline  SmartPtr(
    T * realPtr=0
)

SmartPtr

inline  SmartPtr(
    SmartPtr const & rhs
)

~SmartPtr

inline  ~SmartPtr()
blog comments powered by Disqus