util class to alloc and hold ZFObject type More...
#include <ZFObjectAutoPtr.h>
Additional Inherited Members | |
Public Member Functions inherited from zfauto | |
| const zfany & | asAny (void) const |
| access as zfany | |
| void | zfunsafe_assign (ZFObject *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 zfcast | |
util class to alloc and hold ZFObject type
usage:
note, this type is a util class in cpp world, it's not reflectable and can not be used in ZFMethod, use zfauto or zfautoT instead