The TypeDef interface defines types such as typedef, struct, union, or sequence. It inherits from the Contained interface.
//IDL
interface TypeDef : Contained {
attribute TypeCode <type>;
};
TypeDef::describe( ) is inherited from Contained. It returns a structure of type Contained::Description.
//IDL
struct Description {
Identifier <name>;
any <value>;
};
The <name> member of the structure contains the string "TypeDescription". The TypeCode of the <value> member is _tc_TypeDescription.
The value of the any is a structure of type such as:
//IDL
struct Description {
Identifier <name>;
any <value>
};
attribute TypeCode <type>;
TypeDef::<type> specifies the TypeCode for the typedef definition.