ZFFramework
|
user registered ZFProperty More...
Go to the source code of this file.
Classes | |
class | ZFPropertyInvokeData |
data to hold params for property, see ZFPropertyDynamicRegisterLifeCycle More... | |
Enumerations | |
enum | ZFPropertyLifeCycle { ZFPropertyLifeCycleOnInit , ZFPropertyLifeCycleOnVerify , ZFPropertyLifeCycleOnAttach , ZFPropertyLifeCycleOnDetach } |
property life cycle, see ZFPROPERTY_ON_INIT_DECLARE More... | |
Functions | |
zfbool | ZFPropertyDynamicRegisterLifeCycle (const ZFProperty *property, const ZFClass *ownerClassOrNull, ZFPropertyLifeCycle lifeCycle, const ZFListener &callback, zfstring *errorHint=0) |
dynamic version of ZFPROPERTY_ON_INIT_DECLARE | |
zfbool | ZFPropertyDynamicUnregisterLifeCycle (const ZFProperty *property, const ZFClass *ownerClassOrNull, ZFPropertyLifeCycle lifeCycle) |
see ZFPropertyDynamicRegisterLifeCycle | |
user registered ZFProperty
enum ZFPropertyLifeCycle |
property life cycle, see ZFPROPERTY_ON_INIT_DECLARE
Enumerator | |
---|---|
ZFPropertyLifeCycleOnInit | |
ZFPropertyLifeCycleOnVerify | |
ZFPropertyLifeCycleOnAttach | |
ZFPropertyLifeCycleOnDetach |
|
extern |
dynamic version of ZFPROPERTY_ON_INIT_DECLARE
can not be registered if the property already has custom life cycle for ownerClass
callback's param0 is ZFPropertyInvokeData, sender is the invokerObject