Next: , Previous: , Up: ASN.1 structure handling   [Contents][Index]


2.2 Naming

Consider this definition:

      Example { 1 2 3 4 }

      DEFINITIONS EXPLICIT TAGS ::=

      BEGIN

      Group ::= SEQUENCE {
         id   OBJECT IDENTIFIER,
         value  Value
      }

      Value ::= SEQUENCE {
         value1  INTEGER,
         value2  BOOLEAN
      }

      END

The notation to access the ‘Group’ type of the ‘Example’ definition above is ‘Example.Group’ (as a NUL-terminated string.) Such strings are used in the functions described below.

Others examples:

Elements of structured types unnamed by the respective definition receive the names ?1, ?2, and so on.

The ?LAST name indicates the last element of a SET OF or SEQUENCE OF.