You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|Property Name|Allowed Type / Value|DSL Version|Required|Default Value ^.^|Description
11
+
|**checksumFrom**|<<intro-names, name>> string|5|no (unless **semanticLayerType** is "checksum" and **checksumUntil** is empty)||Name of the frame layer, from which the checksum calculation starts. Applicable only when `semanticLayerType="checksum"`.
12
+
|**checksumUntil**|<<intro-names, name>> string|5|no (unless **semanticLayerType** is "checksum" and **checksumFrom** is empty)||Name of the frame layer, until (and including) which the checksum calculation is executed. Applicable only when `semanticLayerType="checksum"`.
11
13
|**[.line-through]#idReplacement#**|<<intro-boolean, bool>>|1|no|false|Mark the layer as one replacing <<frames-id, <id> >>. +
12
14
**Deprecated**, use `semanticLayerType="id"` instead.
13
15
|**semanticLayerType**|"payload", "id", "size", "sync", "checksum", "value", "custom"|5|no|custom|Specify what other layer **<custom>** one is replacing.
14
-
|**checksumFrom**|<<intro-names, name>> string|5|no (unless **semanticLayerType** is "checksum" and **checksumUntil** is empty)||Name of the frame layer, from which the checksum calculation starts. Applicable only when `semanticLayerType="checksum"`.
15
-
|**checksumUntil**|<<intro-names, name>> string|5|no (unless **semanticLayerType** is "checksum" and **checksumFrom** is empty)||Name of the frame layer, until (and including) which the checksum calculation is executed. Applicable only when `semanticLayerType="checksum"`.
|**availableLengthLimit**|<<intro-boolean, bool>>|4|no|false|Allow having less bytes in the buffer than required by the **type** when performing (de)serialization.
13
+
|**bitLength**|<<intro-numeric, unsigned>>|1|no|length of **type** in bits|Serialization length in bits, applicable only to a member of <<fields-bitfield, <bitfield> >>.
13
14
|**defaultValue**|<<intro-numeric, numeric>> or <<intro-names, name>>|1|no|0|Default value. Must fit the underlying **type**.
14
15
|**endian**|"big" or "little"|1|no|endian of <<schema-schema, schema>>|Endian of the field.
15
-
|**length**|<<intro-numeric, unsigned>>|1|no|length of **type**|Forced serialization length.
16
-
|**bitLength**|<<intro-numeric, unsigned>>|1|no|length of **type** in bits|Serialization length in bits, applicable only to a member of <<fields-bitfield, <bitfield> >>.
17
16
|**hexAssign**|<<intro-boolean, bool>>|1|no|false|Force generated code to assign enum values using hexadecimal numbers.
17
+
|**length**|<<intro-numeric, unsigned>>|1|no|length of **type**|Forced serialization length.
18
18
|**nonUniqueAllowed**|<<intro-boolean, bool>>|1|no|false|Allow non unique **<validValue>**-es.
|**validCheckVersion**|<<intro-boolean, bool>>|1|no|false|Take into account protocol version when generating code for field's value validity check.
20
-
|**availableLengthLimit**|<<intro-boolean, bool>>|4|no|false|Allow having less bytes in the buffer than required by the **type** when performing (de)serialization.
21
21
|===
22
22
23
23
==== Properties of <validValue> Child Element of <enum> Field ====
Copy file name to clipboardExpand all lines: appendix/fields.adoc
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -8,31 +8,31 @@ Refer to <<fields-common, Common Properties of Fields>> chapter for detailed des
8
8
|===
9
9
|Property Name|Allowed Type / Value|DSL Version|Required|Default Value ^.^|Description
10
10
11
-
|**name**|<<intro-names, name>> string|1|yes||Name of the field.
11
+
|**copyCodeFrom**|<<intro-references, reference>> string|5|no||Specify field, overriding or other extra code of which needs to be copied.
12
+
|**customizable**|<<intro-boolean, bool>>|1|no|false|Mark the field to allow compile time customization regardless of code generator's level of customization.
13
+
|**deprecated**|<<intro-numeric, unsigned>>|1|no|max unsigned|Version of the protocol in which field was deprecated. +
14
+
Must be greater than value of **sinceVersion**. +
15
+
Applipable only to members of the <<messages-messages, <message> >> or <<fields-bundle, <bundle> >>.
12
16
|**description**|string|1|no||Human readable description of the field.
13
-
|**reuse**|<<intro-references, reference>> string|1|no||Field, definition of which to copy.
17
+
|**displayHidden**|<<intro-boolean, bool>>|1|no|false|Don't display field at all in visual analysis tool(s).
14
18
|**displayName**|string|1|no||Name of the field to display. If empty, the code generator must use value of property **name** instead. In order to force empty name to display, use "_" (underscore).
15
19
|**displayReadOnly**|<<intro-boolean, bool>>|1|no|false|Disable modification of the field in visual analysis tool(s).
16
-
|**displayHidden**|<<intro-boolean, bool>>|1|no|false|Don't display field at all in visual analysis tool(s).
17
-
|**sinceVersion**|<<intro-numeric, unsigned>>|1|no|0|Version of the protocol in which field was introduced. +
18
-
Applicable only to members of the <<messages-messages, <message> >> or <<fields-bundle, <bundle> >>.
19
-
|**deprecated**|<<intro-numeric, unsigned>>|1|no|max unsigned|Version of the protocol in which field was deprecated. +
20
-
Must be greater than value of **sinceVersion**. +
21
-
Applipable only to members of the <<messages-messages, <message> >> or <<fields-bundle, <bundle> >>.
22
-
|**removed**|<<intro-boolean, bool>>|1|no|false|Indicates whether deprecated field has been removed from being serialized. +
23
-
Applicable only to members of the <<messages-messages, <message> >> or <<fields-bundle, <bundle> >>.
24
20
|**failOnInvalid**|<<intro-boolean, bool>>|1|no|false|Fail *read* operation if read value is invalid.
25
-
|**pseudo**|<<intro-boolean, bool>>|1|no|false|In case of **true**, don't serialize/deserialize this field.
26
-
|**customizable**|<<intro-boolean, bool>>|1|no|false|Mark the field to allow compile time customization regardless of code generator's level of customization.
27
-
|**semanticType**|"none", "messageId", "version", "length"|1|no|none|Specify semantic type of the field. It allows code generator to generate special code for special cases. Value "length" was introduced in **v2** of this specification.
28
21
|**forceGen**|<<intro-boolean, bool>>|3|no|false|Force generation of field's code regardless of it's being referenced or not.
29
-
|**valueOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **value** operation.
30
-
|**readOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **read** operation.
31
-
|**writeOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **write** operation.
32
-
|**refreshOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **refresh** operation.
33
22
|**lengthOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **length** retrieval.
34
-
|**validOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **valid** retrieval.
23
+
|**name**|<<intro-names, name>> string|1|yes||Name of the field.
35
24
|**nameOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **name** retrieval.
36
-
|**copyCodeFrom**|<<intro-references, reference>> string|5|no||Specify field, overriding or other extra code of which needs to be copied.
25
+
|**pseudo**|<<intro-boolean, bool>>|1|no|false|In case of **true**, don't serialize/deserialize this field.
26
+
|**readOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **read** operation.
27
+
|**refreshOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **refresh** operation.
28
+
|**removed**|<<intro-boolean, bool>>|1|no|false|Indicates whether deprecated field has been removed from being serialized. +
29
+
Applicable only to members of the <<messages-messages, <message> >> or <<fields-bundle, <bundle> >>.
30
+
|**reuse**|<<intro-references, reference>> string|1|no||Field, definition of which to copy.
37
31
|**reuseCode**|<<intro-boolean, bool>>|5|no|false|In case of **reuse** apply **copyCodeFrom** with the same <<intro-references, reference>> string.
32
+
|**semanticType**|"none", "messageId", "version", "length"|1|no|none|Specify semantic type of the field. It allows code generator to generate special code for special cases. Value "length" was introduced in **v2** of this specification.
33
+
|**sinceVersion**|<<intro-numeric, unsigned>>|1|no|0|Version of the protocol in which field was introduced. +
34
+
Applicable only to members of the <<messages-messages, <message> >> or <<fields-bundle, <bundle> >>.
35
+
|**validOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **valid** retrieval.
36
+
|**valueOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **value** operation.
37
+
|**writeOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **write** operation.
0 commit comments