Table Constraint Related Structures

The following sections describe changes to generated code that occur when the -tables or -table-unions option is specified on the command-line or when Table Constraint Options are selected from the GUI. This option causes additional code to be generated for items required to support table constraints as specified in the X.682 standard. This includes the generation of structures and classes for Information Object Classes, Information Objects, and Information Object Sets as specified in the X.681 standard.

Most of the additional items that are generated are read-only tables for use by the run-time for data validation purposes. However, generated structures for types that use table constraints are different than when table constraint code generation is not enabled. These differences will be pointed out.

For Go, the table constraint code generation model is roughly equivalent to C when the -table-unions option is used. That is, the generated structures are very similar to what would be generated for CHOICE constructs.