posted on Tuesday, September 11, 2012 - 12:06 pm
In the xtype spec 1.0, section 188.8.131.52.2 , DynamicData has a property descriptor,and some decription on it:
"This property shall contain a descriptor for each value in this object, identified by the member ID The meaning of the member ID shall be as it is described for the value property. "
that make me confused, we know a DynamicData object contains a reference to DynamicType, and DynamicType has the MemberDescriptor for each member,why here to use MemberDescriptor again? Is it duplicate?
Maybe it can support some flexiblities, but can it be omitted while set a value to a particular MemberId of a DynamicData object?
Or, is it necessary to set the corresponding MemberDescriptor while set value to a member of DynamicData object?
Also, when and how to use descriptor property that is contained by particular DynamicData object other than DynamicType?
How does DynamicData::get_descriptor() behave?
posted on Tuesday, September 11, 2012 - 12:10 pm