ZFFramework
Loading...
Searching...
No Matches
zfobj< T_ZFObjectBase > Class Template Reference

util class to alloc and hold ZFObject type More...

#include <ZFObjectAutoPtr.h>

Inheritance diagram for zfobj< T_ZFObjectBase >:
zfautoT< T_ZFObjectBase > zfauto

Additional Inherited Members

Public Member Functions inherited from zfauto
const zfanyasAny (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
ZFObjecttoObject (void) const
 get the holded object
template<typename T_ZFObject>
T_ZFObject to (void) const
 cast by zfcast

Detailed Description

template<typename T_ZFObjectBase>
class zfobj< T_ZFObjectBase >

util class to alloc and hold ZFObject type

usage:

zfobj<MyObject> v(param0, param1);
v->func();
util class to alloc and hold ZFObject type
Definition ZFObjectAutoPtr.h:79

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


The documentation for this class was generated from the following file: