PreviousNext

OM_public_object

The OM_public_object data type is used to define an object that can be directly accessed by a programmer. Its C declaration is as follows:

typedef OM_object OM_public_object;

A data value of this data type is a public object. It comprises one or more (usually more) descriptors, all but the last of which represent values of attributes of the object.

The descriptors for the values of a particular attribute with two or more values are adjacent to one another in the sequence. Their order is that of the values they represent. The order of the resulting groups of descriptors is unspecified.

Since the Class attribute specific to the Object class is represented among the descriptors, it must be represented before any other attributes. Regardless of whether or not the Class attribute is present, the syntax field of the first descriptor must have the OM_S_SERVICE_GENERATED bit set or cleared appropriately.

The last descriptor signals the end of the sequence of descriptors. The last descriptor's type component is OM_NO_MORE_TYPES and its syntax component is OM_S_NO_MORE_SYNTAXES. The last descriptor's value component is unspecified.