Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / OBV / Forward / TreeController.idl
blob464276ea89035367a984873b491abc8064ec38e0
1 valuetype BaseNode;
3 // This TreeController is probably a silly idea.
4 // All I want from it is a valutype forward declared
5 // in one file and fully defined in another.
7 valuetype TreeController
9 public BaseNode root;
12 interface Test
14 // Returnes the reflected copy of its argument.
15 TreeController reflect (in TreeController tc);
17 // Shutdown the romote ORB
18 oneway void shutdown ();
21 // HOWEVER it is illegal to not include the full definition of the
22 // forward declared BaseNode by the end of the compilation unit.
23 // (The code generation of the _copy_value() function for TreeController
24 // requires to know how to downcast the "root" member to it's corresponding
25 // "BaseNode" type; this requires full knowledge of the enclosed type.)
26 #include <TreeBase.idl>