Titan



encode


The attribute allows the association of some referenced encoding rule or encoding directive to be made to a TTCN-3 definition. The syntax for the argument of the statement (i.e. the actual attributes) is defined as a free text string.

Related keywords:


encode [ override ] [ (qualifier) ] "argument"


Example:

module MyModule {
/* Imagine module body here */
} with { encode "RAW" }

Type definitions within MyModule are to be encoded using TITAN RAW encoder/decoder.



BNF definition of encode