property for ZFObject type More...
Go to the source code of this file.
Typedefs | |
typedef zfbool(* | ZFPropertyCallbackIsValueAccessed) (const ZFProperty *property, zfany const &ownerObj) |
used to check whether the property has been accessed | |
typedef zfbool(* | ZFPropertyCallbackIsInitValue) (const ZFProperty *property, zfany const &ownerObj, zfauto *outInitValue) |
used to check whether the property is in init value state | |
typedef void(* | ZFPropertyCallbackValueReset) (const ZFProperty *property, zfany const &ownerObj) |
used to reset the property to its init state | |
typedef void(* | ZFPropertyCallbackUserRegisterInitValueSetup) (const ZFProperty *property, void *v) |
for user registered property only, used to setup a property's init value | |
typedef zfauto(* | ZFPropertyCallbackDynamicRegisterInitValueGetter) (const ZFProperty *property) |
callback to setup init value for ZFPropertyDynamicRegister | |
Functions | |
void | ZFPropertyCallbackIsValueAccessedChange (const ZFProperty *property, ZFPropertyCallbackIsValueAccessed callback) |
change default impl for ZFPropertyCallbackIsValueAccessed, use with caution | |
void | ZFPropertyCallbackIsInitValueChange (const ZFProperty *property, ZFPropertyCallbackIsInitValue callback) |
change default impl for ZFPropertyCallbackIsInitValue, use with caution | |
void | ZFPropertyCallbackValueResetChange (const ZFProperty *property, ZFPropertyCallbackValueReset callback) |
change default impl for ZFPropertyCallbackValueReset, use with caution | |
property for ZFObject type
typedef zfbool(* ZFPropertyCallbackIsValueAccessed) (const ZFProperty *property, zfany const &ownerObj) |
used to check whether the property has been accessed
usage:
typedef zfbool(* ZFPropertyCallbackIsInitValue) (const ZFProperty *property, zfany const &ownerObj, zfauto *outInitValue) |
used to check whether the property is in init value state
usage:
typedef zfauto(* ZFPropertyCallbackDynamicRegisterInitValueGetter) (const ZFProperty *property) |
callback to setup init value for ZFPropertyDynamicRegister
returned object must be valid to ZFTypeInfo::typeIdClass