ZFFramework
|
a ZFObject holder which would release content object automatically when destroyed More...
#include <zfautoFwd.h>
Public Member Functions | |
void | zfunsafe_assign (ZFObject *obj) |
no lock version of object assign, for low level impl only | |
void | zfunsafe_assign (zfauto const &obj) |
no lock version of object assign, for low level impl only | |
zfindex | objectRetainCount (void) const |
get current retain count | |
ZFObject * | toObject (void) const |
get the holded object | |
template<typename T_ZFObject > | |
T_ZFObject | to (void) const |
cast by zfunsafe_zfcast | |
ZFV | zfv (void) const |
see ZFV | |
a ZFObject holder which would release content object automatically when destroyed
useful to hold a ZFObject as temp return value: