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
|**algName**|<<intro-names, name>> string|1|no (unless **alg** is **custom**)||Name of the custom algorithm. Applicable only if **alg="custom"**.
13
13
|**from**|<<intro-names, name>> string|1|yes (only if **until** is not specified)||Name of the frame layer, from which the checksum calculation starts.
14
14
|**until**|<<intro-names, name>> string|1|yes (only if **from** is not specified)||Name of the frame layer, until (and including) which the checksum calculation is executed.
Copy file name to clipboardExpand all lines: appendix/enum.adoc
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ for detailed description.
16
16
|**hexAssign**|<<intro-boolean, bool>>|1|no|false|Force generated code to assign enum values using hexadecimal numbers.
17
17
|**nonUniqueAllowed**|<<intro-boolean, bool>>|1|no|false|Allow non unique **<validValue>**-es.
18
18
|**validCheckVersion**|<<intro-boolean, bool>>|1|no|false|Take into account protocol version when generating code for field's value validity check.
19
+
|**availableLengthLimit**|<<intro-boolean, bool>>|4|no|false|Allow having less bytes in the buffer than required by the **type** when performing (de)serialization.
19
20
|===
20
21
21
22
==== Properties of <validValue> Child Element of <enum> Field ====
|Property Name|Allowed Type / Value|DSL Version|Required|Default Value ^.^|Description
8
8
@@ -24,4 +24,10 @@ Applicable only to members of the <<messages-messages, <message> >> or <<f
24
24
|**customizable**|<<intro-boolean, bool>>|1|no|false|Mark the field to allow compile time customization regardless of code generator's level of customization.
25
25
|**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.
26
26
|**forceGen**|<<intro-boolean, bool>>|3|no|false|Force generation of field's code regardless of it's being referenced or not.
27
+
|**readOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **read** operation.
28
+
|**writeOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **write** operation.
29
+
|**refreshOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **refresh** operation.
30
+
|**lengthOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **length** retrieval.
31
+
|**validOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **valid** retrieval.
32
+
|**nameOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **name** retrieval.
Copy file name to clipboardExpand all lines: appendix/int.adoc
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ for detailed description.
26
26
|**displayOffset**|<<intro-numeric, numeric>>|1|no|0|Indicates to GUI analysis tools to add specified offset value to a field's value when displaying it.
27
27
|**nonUniqueSpecialsAllowed**|<<intro-boolean, bool>>|2|no|false|Allow non unique **<special>**-s.
28
28
|**displaySpecials**|<<intro-boolean, bool>>|2|no|true|Control displaying **<special>** values in analysis tools.
29
+
|**defaultValidValue**|<<intro-numeric, numeric>> or <<intro-names, name>>|4|no||Convenience bunding of the **defaultValue** and **validValue** into a single property.
30
+
|**availableLengthLimit**|<<intro-boolean, bool>>|4|no|false|Allow having less bytes in the buffer than required by the **type** when performing (de)serialization.
29
31
|===
30
32
31
33
==== Properties of <special> Child Element of <int> Field ====
Copy file name to clipboardExpand all lines: appendix/interface.adoc
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ for detailed description.
9
9
10
10
|**name**|<<intro-names, name>> string|1|yes||Name of the interface.
11
11
|**description**|string|1|no||Human readable description of the interface.
12
-
|**copyFieldsFrom**|<<intro-references, reference>> string|1|no||Interface definition from which fields need to be copied.
13
-
|**copyFieldsAliases**|<<intro-boolean, bool>>|3|no|true|Control copy of the defined <<aliases-aliases, aliases>> when **copyFieldsFrom** property is used to copy fields from the other <<interfaces-interfaces, <interface> >>.
12
+
|**copyFieldsFrom**|<<intro-references, reference>> string|1|no||Interface or bundle field definition from which fields need to be copied.
13
+
|**copyFieldsAliases**|<<intro-boolean, bool>>|3|no|true|Control copy of the defined <<aliases-aliases, aliases>> when **copyFieldsFrom** property is used to copy fields from the other <<interfaces-interfaces, <interface> >> or <<fields-bundle, <bundle> >>.
|Property Name|Allowed Type / Value|DSL Version|Required|Default Value ^.^|Description
9
9
10
10
|**name**|<<intro-names, name>> string|1|yes||Name of the message.
11
11
|**id**|<<intro-numeric, numeric>>|1|yes||Numeric ID of the message.
12
12
|**description**|string|1|no||Human readable description of the message.
13
13
|**displayName**|string|1|no||Name of the message to display. If empty, the code generator must use value of property **name** instead.
14
-
|**copyFieldsFrom**|<<intro-references, reference>> string|1|no||Message definition from which fields need to be copied.
14
+
|**copyFieldsFrom**|<<intro-references, reference>> string|1|no||Message or bundle field definition from which fields need to be copied.
15
15
|**order**|<<intro-numeric, numeric>>|1|no|0|Relative order of the messages with the same **id**.
16
16
|**sinceVersion**|<<intro-numeric, unsigned>>|1|no|0|Version of the protocol in which message was introduced.
17
17
|**deprecated**|<<intro-numeric, unsigned>>|1|no|max unsigned|Version of the protocol in which message was deprecated. +
18
18
Must be greater than value of **sinceVersion**.
19
19
|**removed**|<<intro-boolean, bool>>|1|no|false|Indicates whether deprecated message has been removed from being supported.
20
20
|**sender**|"both", "client", "server"|1|no|both|Endpoint that sends the message.
21
21
|**customizable**|<<intro-boolean, bool>>|1|no|false|Mark the message to allow compile time customization regardless of code generator's level of customization.
22
-
|**copyFieldsAliases**|<<intro-boolean, bool>>|3|no|true|Control copy of the defined <<aliases-aliases, aliases>> when **copyFieldsFrom** property is used to copy fields from the other <<messages-messages, <message> >>.
22
+
|**copyFieldsAliases**|<<intro-boolean, bool>>|3|no|true|Control copy of the defined <<aliases-aliases, aliases>> when **copyFieldsFrom** property is used to copy fields from the other <<messages-messages, <message> >> or <<fields-bundle, <bundle> >>.
23
+
|**validateMinLength**|<<intro-numeric, numeric>>|4|no||Specify expected minimal serialization length of the message fields.
24
+
|**readOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **read** operation.
25
+
|**writeOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **write** operation.
26
+
|**refreshOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **refresh** operation.
27
+
|**lengthOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **length** retrieval.
28
+
|**validOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **valid** retrieval.
29
+
|**nameOverride**|"any", "replace", "extend", "none"|4|no|any|Control the overriding code for **name** retrieval.
0 commit comments