TypeDef describes named types (for example, typedef, struct, union, sequence). It inherits from interface Contained.
// IDL
interface TypeDef : Contained {
attribute TypeCode type;
};
Contained
describe() is inherited from Contained. It returns a structure of type Contained::Description:
Contained::Description:
// IDL
struct Description {
Identifier name;
any value
};
The name member of this structure contains the string "TypeDescription".The
TypeCode of the value member is:
_tc_TypeDescriptionThe
value of the any is a structure of type:
// IDL
struct TypeDescription {
Identifier name;
RepositoryId id;
RepositoryId defined_in;
TypeCode type;
};
Contained::describe()
attribute TypeCode type;
TypeCode for the typedef definition.