ZFFramework
|
info for a property for ZFObject, see ZFPROPERTY_RETAIN for more info More...
#include <ZFProperty.h>
Public Member Functions | |
void | objectInfoT (zfstring &ret) const |
see objectInfo | |
zfstring | objectInfo (void) const |
get info about this property | |
const zfchar * | propertyInternalId (void) const |
internal property id, for debug use only | |
zfbool | propertyIsUserRegister (void) const |
true if this property is registered by ZFPropertyUserRegisterRetain | |
zfbool | propertyIsDynamicRegister (void) const |
true if this property is registered by ZFPropertyDynamicRegister | |
zfany | propertyDynamicRegisterUserData (void) const |
see ZFPropertyDynamicRegister | |
zfbool | propertySerializable (void) const |
true if the property is serializable | |
const ZFClass * | propertyOwnerClass (void) const |
get the property's owner class | |
const zfchar * | propertyName (void) const |
name for the property | |
const zfchar * | propertyTypeName (void) const |
type string for the property | |
const zfchar * | propertyTypeId (void) const |
type id string declared in ZFPROPERTY_XXX | |
const ZFMethod * | setterMethod (void) const |
get the getter method | |
const ZFMethod * | getterMethod (void) const |
get the getter method | |
zfbool | propertyIsRetainProperty (void) const |
true if the property is retain property | |
const ZFClass * | propertyClassOfRetainProperty (void) const |
for retain property only, get the retain property's declared class | |
Public Attributes | |
ZFPropertyCallbackIsValueAccessed | callbackIsValueAccessed |
see ZFPropertyCallbackIsValueAccessed | |
ZFPropertyCallbackIsInitValue | callbackIsInitValue |
see ZFPropertyCallbackIsInitValue | |
ZFPropertyCallbackValueReset | callbackValueReset |
see ZFPropertyCallbackValueReset | |
ZFPropertyCallbackUserRegisterInitValueSetup | callbackUserRegisterInitValueSetup |
see ZFPropertyUserRegisterAssign | |
ZFPropertyCallbackDynamicRegisterInitValueGetter | callbackDynamicRegisterInitValueGetter |
see ZFPropertyDynamicRegister | |
info for a property for ZFObject, see ZFPROPERTY_RETAIN for more info
zfbool ZFProperty::propertySerializable | ( | void | ) | const |
true if the property is serializable
property are serializable except:
|
inline |
type string for the property
note the type string is the macro expand from the type, it may or may not be same for same type, usually for debug use only
|
inline |
type id string declared in ZFPROPERTY_XXX
this value should be ensured the type id for the type or ZFTypeId_none if no known type, this value is used for property's advanced serialize and copy logic, see ZFTypeInfo
|
inline |
true if the property is retain property
note that bool property is also a assign property, it also have a getter method named "propertyName"
|
inline |
for retain property only, get the retain property's declared class
note it's the declared class, property's value may be subclass of it