createPropertyValueFromPropertyInfoWithValue:initialValue:creationFlags:customFactoryFunction: method

Creates a property value from its metadata if initial value is nil, the initWith...

Syntax

+ ( SDMODataPropertyValueObject * ) createPropertyValueFromPropertyInfoWithValue : ( const SDMODataPropertyInfo *const ) propInfo initialValue : ( NSString *const ) initialValue creationFlags : ( const uint16_t ) creationFlags customFactoryFunction : ( PFNCUSTOMPROPERTYVALUEFROMPROPERTYINFOWITHVALUE ) customFactoryFunction

Usage

method of the PropertyValuexxx object will set the default value of the object! the 4th parameter can be NULL, if no custom types/custom semantics are used