This Structured DataType is used to provide the meta data for a custom Structure DataType. It is derived from the DataType DataTypeDefinition. The StructureDefinition is formally defined in Table 32.
Table 32 – StructureDefinition Structure
Name |
Type |
Description |
StructureDefinition |
Structure |
|
DefaultEncodingId |
NodeId |
The NodeId of the default DataTypeEncoding for the DataType. The default shall always be Default Binary encoding. If the DataType is only used inside nested Structures and is not directly contained in an ExtensionObject, the encoding NodeId is null. The DefaultEncodingId in the StructureDefinition shall always be the Default Binary encoding for the DataType |
BaseDataType |
NodeId |
The NodeId of the direct supertype of the DataType. This might be the abstract Structure or the Union DataType. |
StructureType |
StructureType |
An enumeration that specifies the type of Structure defined by the DataType. The StructureType DataType is defined in 8.49. Only one of the fields defined for the data type is encoded into a value if the data type is a Union. |
Fields |
StructureField [] |
The list of fields that make up the data type. This definition assumes the structure has a sequential layout. The StructureField DataType is defined in 8.51. For Structures derived from another Structure DataType this list shall begin with the fields of the baseDataType followed by the fields of this StructureDefinition. |