abstract base class for ZFCorePointerT More...
#include <ZFCorePointer.h>
Public Member Functions | |
virtual void | objectInfoT (zfstring &ret) const |
see objectInfo | |
virtual zfstring | objectInfo (void) const |
return object info | |
virtual void | objectInfoOfContentT (zfstring &ret) const =0 |
see objectInfoOfContent | |
virtual zfstring | objectInfoOfContent (void) const |
get content info or ZFTOKEN_zftToStringNotAvailable if not available | |
virtual ZFCompareResult | objectCompare (const ZFCorePointer &another) const |
compare by internal pointer value | |
virtual const ZFCorePointer * | refNew (void) const =0 |
create a new reference to the smart pointer | |
virtual void | refDelete (void) const |
see refNew | |
virtual const void * | pointerValueAccess (void) const =0 |
get the internal pointer | |
virtual void * | pointerValueAccessNonConst (void) const =0 |
get the internal pointer | |
template<typename T_PointerDesired> | |
T_PointerDesired | pointerValueT (void) const |
util method to get and cast to desired type | |
virtual zfindex | objectRetainCount (void) const =0 |
get current retain count | |
abstract base class for ZFCorePointerT
designed for hiding type from ZFCorePointerT
|
pure virtual |
Implemented in ZFCorePointerT< T_Pointer, T_ZFCorePointerType >.
|
pure virtual |
create a new reference to the smart pointer
increase object reference and return a new smart pointer, old one should be deleted manually
after the newly created instance and the old one both been deleted, the object would be deleted finally
Implemented in ZFCorePointerT< T_Pointer, T_ZFCorePointerType >.
|
pure virtual |
get the internal pointer
Implemented in ZFCorePointerT< T_Pointer, T_ZFCorePointerType >.
|
pure virtual |
get the internal pointer
Implemented in ZFCorePointerT< T_Pointer, T_ZFCorePointerType >.
|
pure virtual |
get current retain count
Implemented in ZFCorePointerT< T_Pointer, T_ZFCorePointerType >.