Operator |
Appears for Mandatory Fields? |
Appears for Optional Fields? |
No Operator |
No. |
No. |
Constant |
No, the Constant value should always be used. |
Yes; if set, use the Constant value; otherwise the field value is Null. |
Copy |
Yes; if set, use the incoming value is the current value;
otherwise, use the previous value. |
Yes; same as Mandatory fields, but the value can be Null (e.g., it
was read as 0 for Ints or a single Null byte for Strings. |
Default |
Yes; if set, read the value from the incoming data; otherwise, use
the default value. |
Yes; same as Mandatory fields. |
Delta |
No; the value in the incoming data should always be added to the
previous one. |
No; same as Mandatory fields. |
Increment |
Yes; if set, read the value from the incoming data; otherwise, add
1 to the previous value. |
Yes; same as Mandatory fields. |
# Template Versioning
I didn't mentioned this before, but now that I explained some things about the
types and some information about the template, I can point that the template
file allows multiple versions of the same message types.
For example
```xml