2 #include
"tao/OctetSeq.pidl"
3 #include
"tao/StringSeq.pidl"
5 /// Put the interfaces in a module, to avoid global namespace pollution
8 exception Recursive_Type_In_Any_Test_Failed
{};
9 exception Demarshaling_From_Any_Failed
{};
11 enum MyAttRefValEnum
{
17 // NOTE: the (deprecated) anonymous sequence type in the union
18 // is intentional; the IDL compiler generated different
19 // code for this case as compared to using a proper
20 // forward and typedef.
23 string attRefQualifier
;
24 union MyAttRefValue
switch(MyAttRefValEnum
) {
25 case ArvAttribute
: string attrValue
; //value of a simple attribute
26 case ArvInteger
: long intValue
; // just for testing
27 case ArvComposition
: sequence
<MyAttRef
> compValue
; //a composition by specifying a sequence of MyAttRef elements.
30 typedef sequence
<MyAttRef
> MyAttRefSequence
;
32 /// Simple test interface.
35 /// Return the any provided as the "in" argument.
36 any get_any
(in any the_any
);
38 /// Shutdown the server ORB.
39 oneway
void shutdown
();