-- IDL module extracted from ITU-T X.781 (08/2001)
module typeExample {
typedef short shortArray[2][3];
typedef sequence<short,4> shortSequence;
enum Color { red, blue, green};
exception ExceptionType {
short number;
string reason;
};
typedef short short_alias;
struct DataStructure {
short_alias s;
float f;
};
union UN_DS {
short s;
DataStructure ds;
};
interface typeInterface {
UN_DS op ( in shortArray p1_sA,
in shortSequence p2_sS,
inout Color p3_color,
out DataStructure p4_UT
)
raises (ExceptionType)
context ( "key1", "key2") ;
};
};