summaryrefslogtreecommitdiff
path: root/TAO/tests/Cubit/TAO/IDL_Cubit/cubit.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Cubit/TAO/IDL_Cubit/cubit.idl')
-rw-r--r--TAO/tests/Cubit/TAO/IDL_Cubit/cubit.idl91
1 files changed, 0 insertions, 91 deletions
diff --git a/TAO/tests/Cubit/TAO/IDL_Cubit/cubit.idl b/TAO/tests/Cubit/TAO/IDL_Cubit/cubit.idl
deleted file mode 100644
index 1899bd56e6e..00000000000
--- a/TAO/tests/Cubit/TAO/IDL_Cubit/cubit.idl
+++ /dev/null
@@ -1,91 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-interface Cubit
- // = TITLE
- // Defines an interface that encapsulates operations that cube
- // numbers.
- //
- // = DESCRIPTION
- // This interface encapsulates operations that cube
- // octets, shorts, longs, structs and unions.
-{
- octet cube_octet (in octet o);
- // cube an octet
-
- short cube_short (in short s);
- // cube a short
-
- long cube_long (in long l);
- // cube a long
-
- struct Many
- {
- octet o; // + 3 bytes padding (normally) ...
- long l;
- short s; // + 2 bytes padding (normally) ...
- };
-
- Many cube_struct (in Many values);
- // Cube a struct
-
- enum discrim
- {
- e_0th,
- e_1st,
- e_2nd,
- e_3rd
- };
- // Enumeration of the different elements in a union.
-
- union oneof switch (discrim)
- {
- // this is an easy union to interpret; no padding
- // is needed between discriminant and value.
- case e_0th:
- octet o;
- case e_1st:
- short s;
- case e_2nd:
- long l;
- case e_3rd:
- Many cm;
-
- // default:
- // Many cm;
- };
- // Union of different types.
-
- oneof cube_union (in oneof values);
- // cube a union.
-
- typedef sequence<long> long_seq;
-
- void cube_long_sequence (in long_seq input,
- out long_seq output);
- // Cube several longs.
-
-
- typedef sequence<octet> octet_seq;
- void cube_octet_sequence (in octet_seq input, out octet_seq output);
- // Cube an octet sequence.
-
- oneway void shutdown ();
- // shutdown the application.
-};
-
-interface Cubit_Shutdown
-{
- // = TITLE
- // We need this class to shutdown the server
- // when testing collocation.
- oneway void shutdown ();
- // shutdown the program.
-};
-
-interface Cubit_Factory
- // = TITLE
- // Creates Cubit objects.
-{
- Cubit make_cubit (in string key);
-};