a ZFObject holder which would release content object automatically when destroyed More...
#include <zfautoFwd.h>
Public Member Functions | |
| 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 | |
a ZFObject holder which would release content object automatically when destroyed
useful to hold a ZFObject as temp return value: