zorba::SmartPtr

#include <zorba/util/smart_ptr.h>

Protected Attributes

T *

p

Protected Functions

SmartPtr &

assign(const SmartPtr< otherT > &rhs)

void

init()

Public Functions

T *

get() const

bool

isNull() const

operator const T *() const

operator T *()

bool

operator!=(SmartPtr const &h) const

bool

operator!=(T const *pp) const

T &

operator*() const

T *

operator->() const

bool

operator<(const SmartPtr &h) const

SmartPtr &

operator=(SmartPtr const &rhs)

SmartPtr &

operator=(SmartPtr< otherT > const &rhs)

bool

operator==(SmartPtr const &h) const

bool

operator==(T const *pp) const

SmartPtr(T *realPtr=0)

SmartPtr(SmartPtr const &rhs)

~SmartPtr()

Protected Attributes

p

T * p

Protected Functions

assign

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

init

void init()

Public Functions

get

T * get() const

isNull

bool isNull() const

operator const T *

 operator const T *() const

operator T *

 operator T *()

operator!=

bool operator!=(SmartPtr const &h) const

operator!=

bool operator!=(T const *pp) const

operator*

T & operator*() const

operator->

T * operator->() const

operator<

bool operator<(const SmartPtr &h) const

operator=

SmartPtr & operator=(SmartPtr const &rhs)

operator=

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

operator==

bool operator==(SmartPtr const &h) const

operator==

bool operator==(T const *pp) const

SmartPtr

 SmartPtr(T *realPtr=0)

SmartPtr

 SmartPtr(SmartPtr const &rhs)

~SmartPtr

 ~SmartPtr()