ZFFramework
 
Loading...
Searching...
No Matches
ZFPropertyDynamicRegisterExtra.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFPropertyDynamicRegisterExtra_h_
7#define _ZFI_ZFPropertyDynamicRegisterExtra_h_
8
10#include "ZFObjectCore.h"
12
13// ============================================================
15
25
32 ZF_IN const ZFProperty *property
33 , ZF_IN const ZFClass *ownerClassOrNull
34 , ZF_IN ZFPropertyLifeCycle lifeCycle
35 , ZF_IN const ZFListener &callback
36 , ZF_OUT_OPT zfstring *errorHint = zfnull
37 );
40 ZF_IN const ZFProperty *property
41 , ZF_IN const ZFClass *ownerClassOrNull
42 , ZF_IN ZFPropertyLifeCycle lifeCycle
43 );
44
46#endif // #ifndef _ZFI_ZFPropertyDynamicRegisterExtra_h_
47
#define ZFLIB_ZFCore
used to export symbols
Definition ZFCoreEnvDef.h:30
#define ZF_OUT_OPT
dummy macro that shows the param used as optional output
Definition ZFCoreTypeDef_ClassType.h:192
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define zfclassFwd
forward declaration of a class type
Definition ZFCoreTypeDef_ClassType.h:31
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
base class of all objects
user registered ZFProperty
ZFPropertyLifeCycle
property life cycle, see ZFPROPERTY_ON_INIT_DECLARE
Definition ZFPropertyDynamicRegisterExtra.h:19
@ ZFPropertyLifeCycleOnDetach
see ZFPROPERTY_ON_INIT_DECLARE
Definition ZFPropertyDynamicRegisterExtra.h:23
@ ZFPropertyLifeCycleOnUpdate
see ZFPROPERTY_ON_INIT_DECLARE
Definition ZFPropertyDynamicRegisterExtra.h:21
@ ZFPropertyLifeCycleOnAttach
see ZFPROPERTY_ON_INIT_DECLARE
Definition ZFPropertyDynamicRegisterExtra.h:22
@ ZFPropertyLifeCycleOnInit
see ZFPROPERTY_ON_INIT_DECLARE
Definition ZFPropertyDynamicRegisterExtra.h:20
zfbool ZFPropertyDynamicUnregisterLifeCycle(const ZFProperty *property, const ZFClass *ownerClassOrNull, ZFPropertyLifeCycle lifeCycle)
see ZFPropertyDynamicRegisterLifeCycle
zfbool ZFPropertyDynamicRegisterLifeCycle(const ZFProperty *property, const ZFClass *ownerClassOrNull, ZFPropertyLifeCycle lifeCycle, const ZFListener &callback, zfstring *errorHint=zft_zfnull)
dynamic version of ZFPROPERTY_ON_INIT_DECLARE
ZFObject's class info.
Definition ZFClass.h:67
listener as ZFCallback, mostly used by ZFObject::observerNotify
Definition ZFObjectObserver.h:30
info for a property for ZFObject, see ZFPROPERTY_RETAIN for more info
Definition ZFProperty.h:28