userData
<userData>
is dictionary object that stores client-defined elements.
Here is an simple example of a <userData>
structure used to store the name and version of the source application that created the .clip.
<userData type="dict">
<appName type="string">Flame</appName>
<appVersion type="int16">2017</appVersion>
</userData>
Attribute | Description | Data Type | Allowed Values | Attribute is... |
---|---|---|---|---|
type | The data type of the element. | character data | dict | Required |
version | Version of the xml element. | unsigned integer | 4 | Implied |
Children |
---|
#undefined |
No children elements are defined for the <userData>
element since its data structure is undefined; each child element created by the client must define its data type using the type
attribute. The allowed data types are listed below.
Data Type | Defined Values |
---|---|
Integer (bound or unbound) | int, int8, int16, int32, int64 |
Unsigned integer (bound or unbound) | uint, uint8, uint16, uint32, uint64 |
Floating point | float, double |
Boolean | bool |
String | string |
Parents