PreviousNext

Syntaxes

A variety of syntaxes are defined. Most are functionally equivalent to ASN.1 types, as documented in Relationship to ASN.1 Simple Types, Relationship to ASN.1 Useful Types, Relationship to ASN.1 Character String Types, and Relationship to ASN.1 Type Constructors.

The following syntaxes are defined:

· OM_S_BOOLEAN

A value of this syntax is a Boolean; that is, it can be OM_TRUE or OM_FALSE.

· Enum(*)

A value of any syntax encompassed by this syntax template is one of a set of values associated with the syntax. The only significant characteristic of the values is that they are distinct.

The group of syntaxes encompassed by this template is open-ended. Zero or more members are added to the group by each package definition. The secondary identifiers that indicate the members are also assigned there.

· OM_S_INTEGER

A value of this syntax is a positive or negative integer.

· OM_S_NULL

The one value of this syntax is a valueless placeholder.

· Object(*)

A value of any syntax encompassed by this syntax template is an object, which is any instance of a class associated with the syntax.

The group of syntaxes encompassed by this template is open-ended. One member is added to the group by each class definition. The secondary identifier that indicates the member is the name of the class.

· String(*)

A value of any syntax encompassed by this syntax template is a string (as defined in Strings) whose form and meaning are associated with the syntax.

The group of syntaxes encompassed by this template is closed. One syntax is defined for each ASN.1 string type. The secondary identifier that indicates the member is, in general, the first word of the type's name.