50 ,
ZFMP_IN(ZFContainer *, another)
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
#define zfextend
dummy macro shows class inherit from another
Definition ZFCoreTypeDef_ClassType.h:53
#define zfoverride
dummy macro shows that method override parent's method
Definition ZFCoreTypeDef_ClassType.h:58
#define zfclassFwd
forward declaration of a class type
Definition ZFCoreTypeDef_ClassType.h:31
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
#define ZFMP_IN_OUT(ParamType, paramName)
see ZFMP_IN
Definition ZFMethod.h:117
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_DECLARE_0(ReturnType, MethodName)
see ZFMethod
Definition ZFMethodDeclare.h:693
#define ZFMETHOD_DECLARE_2(ReturnType, MethodName, ZFMP_0, ZFMP_1)
see ZFMethod
Definition ZFMethodDeclare.h:1025
#define ZFMETHOD_DECLARE_1(ReturnType, MethodName, ZFMP_0)
see ZFMethod
Definition ZFMethodDeclare.h:854
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define zfclass
same as class, shows that this class is a ZFObject type
Definition ZFObjectClassTypeFwd.h:38
#define ZFOBJECT_ON_INIT_DECLARE_1(ZFMP_0)
see ZFOBJECT_ON_INIT_INLINE_1
Definition ZFObjectDeclare.h:263
#define ZFOBJECT_DECLARE(ChildClass, SuperClass,...)
necessary for every class inherit from ZFObject
Definition ZFObjectDeclare.h:126
container of ZFObject, see ZFKeyValueContainer
Definition ZFMap.h:17
virtual zfany iterValue(const zfiter &it)
see zfiter
virtual zfbool isContain(ZFObject *obj)
return true if contains the object, compared by instance compare
virtual void objectOnDealloc(void)
override this to destroy your object
virtual void remove(ZFObject *obj)
remove object, do nothing if not exist
virtual void add(ZFObject *obj)
insert object to last, assert failure if obj = zfnull, see add
virtual void removeAll()
remove all object
virtual zfauto removeAndGet(ZFObject *obj)
remove object, return removed object or null
virtual void iterAdd(ZFObject *value)
see zfiter
virtual zfiter iter()
see zfiter
virtual zfiter iterFind(ZFObject *key)
see zfiter
virtual zfbool isEmpty()
return true if empty or false if not empty
virtual void iterRemove(zfiter &it)
see zfiter
virtual void addFrom(ZFContainer *another)
add objects from another container
virtual void objectOnInit(ZFContainer *another)
see ZFObject::objectOnInit
virtual zfindex count()
return number of content
util method to cast ZFObject types freely
Definition zfany.h:35
a ZFObject holder which would release content object automatically when destroyed
Definition zfautoFwd.h:34
iterator for ZFFramework
Definition zfiter.h:40