TIBCO Adapter SDK C++ Reference
|
An MAssocList consists of ordered key/value (attribute/value) pairs; the same key may be repeated multiple time. You can form nested trees by making an MAssocList the value of an MAssocList attribute.
The interface supports accessing key-value pairs either by key and key index or by global position inside the association list.
MAssocList behaves in a similar fashion to an MTree, but the major difference between these two classes is that MAssocList is part of the MData class hierarchy and therefore can also be used in conjunction with other metadata driven objects. For example, an MAssocList object may be used as an attribute of an MInstance or as a member of a MSequence.
One usage of MAssocList is when highly dynamic data structure needs to be shipped and no class description can be available or only partial class description is available.
class MAssocList : public MData;
MObject MData MAssocList