ZFFramework
Loading...
Searching...
No Matches
List of all members
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
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
 
ZFObjecttoObject (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
 

Detailed Description

template<typename T_ZFObjectBase>
class zfobj< T_ZFObjectBase >

util class to alloc and hold ZFObject type

usage:

zfobj<MyObject> v(param0, param1);
// equivalence
zfautoT<MyObject> v = zflineAlloc(MyObject, param0, param1);
zfautoT<MyObject> v = zfobj<MyObject>(param0, param1);
#define zflineAlloc(T_ZFObject,...)
same as zflineRelease(zfAlloc(...)), see zflineRelease
Definition ZFObjectAutoPtr.h:97
type restrict version of zfauto
Definition zfautoFwd.h:141
util class to alloc and hold ZFObject type
Definition ZFObjectAutoPtr.h:164

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: