summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/idl_specs
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/idl_specs')
-rw-r--r--TAO/TAO_IDL/idl_specs/array.idl39
-rw-r--r--TAO/TAO_IDL/idl_specs/constant.idl31
-rw-r--r--TAO/TAO_IDL/idl_specs/dif2.idl50
-rw-r--r--TAO/TAO_IDL/idl_specs/inherit.idl19
-rw-r--r--TAO/TAO_IDL/idl_specs/module.idl22
-rw-r--r--TAO/TAO_IDL/idl_specs/primtypes.idl25
-rw-r--r--TAO/TAO_IDL/idl_specs/sequence.idl27
-rw-r--r--TAO/TAO_IDL/idl_specs/simple.idl18
-rw-r--r--TAO/TAO_IDL/idl_specs/simple2.idl28
-rw-r--r--TAO/TAO_IDL/idl_specs/struct.idl54
-rw-r--r--TAO/TAO_IDL/idl_specs/union.idl28
-rw-r--r--TAO/TAO_IDL/idl_specs/union2.idl23
12 files changed, 0 insertions, 364 deletions
diff --git a/TAO/TAO_IDL/idl_specs/array.idl b/TAO/TAO_IDL/idl_specs/array.idl
deleted file mode 100644
index 9a35397c1ba..00000000000
--- a/TAO/TAO_IDL/idl_specs/array.idl
+++ /dev/null
@@ -1,39 +0,0 @@
-// $Id$
-
-typedef sequence<long,10> vec10;
-typedef char str22[22][2];
-typedef boolean boolarray[3][40];
-
-
-struct A {
- long a1;
- char a2[17];
- char a3[10][2];
-// vec10 a3;
-};
-
-struct B {
- long b1;
- A b2;
-};
-
-struct C {
- long c1;
- long c2;
-};
-
-typedef A A_matrix[2][3][4];
-typedef B B_matrix[2][3][4];
-typedef C C_matrix[2][3][4];
-
-typedef A_matrix A_rmatrix[2][3][4][5];
-
-interface A_i {
- A op(in A a1, inout A a2, out A a3);
- str22 op2(in str22 a1, inout str22 a2, out str22 a3);
- str22 op3(in short a1[3][4], inout short a2[3][4], out short a3[4][4]);
- A_matrix op4(in A a1, inout A a2, out A a3);
- attribute str22 attribute_array;
- void foo(in any x[3], out any y[4], inout any z[3]);
-};
-
diff --git a/TAO/TAO_IDL/idl_specs/constant.idl b/TAO/TAO_IDL/idl_specs/constant.idl
deleted file mode 100644
index 3ccded681e1..00000000000
--- a/TAO/TAO_IDL/idl_specs/constant.idl
+++ /dev/null
@@ -1,31 +0,0 @@
-// $Id$
-
-const short l = 4;
-
-enum N { zero, un , deux, trois };
-
-exception E {
- short cause ;
- };
-
-module M {
- const short l = 4;
-
- enum N { zero, un , deux, trois };
-
- exception E {
- short cause ;
- };
-
- interface A {
- const short l = 4;
-
- enum N { zero, un , deux, trois };
-
- exception E {
- short cause ;
- };
- N foo(in N x, out N y, inout N z);
- };
-};
-
diff --git a/TAO/TAO_IDL/idl_specs/dif2.idl b/TAO/TAO_IDL/idl_specs/dif2.idl
deleted file mode 100644
index b21c65d6d58..00000000000
--- a/TAO/TAO_IDL/idl_specs/dif2.idl
+++ /dev/null
@@ -1,50 +0,0 @@
-// $Id$
-
-/* A test interface for DIF1 */
-
-interface ex1
-{
- void op0();
- float op1(in float f, out double d, inout long l);
- double op2(in double d, out long l, inout short s);
- long op3(in long l, out short s, inout unsigned long ul);
- short op4(in short s, out unsigned long ul, inout unsigned short us);
- unsigned long op5(inout unsigned long ul, in unsigned short us, out char c, in boolean b);
- unsigned short op6(out unsigned short us, inout char c);
-};
-
-//interface ex3;
-
-interface ex2 : ex1
-{
- // operations continued from ex1
- char op7(in char c, out boolean b, inout octet o);
- boolean op8(out boolean b, in octet o);
- octet op9(inout octet o, out string s, in string <10> ls, inout long l);
- string op10(in string s, out string <10> ls);
- string <10> op11(inout string <10> ls, out long l);
- long op12(in long l);
-// ex3 op13(Environment *ev);
-};
-
-interface ex3 : ex1
-{
- // attributes
- readonly attribute float float_attribute;
- attribute double double_attribute;
- readonly attribute long long_attribute;
- attribute short short_attribute;
- readonly attribute unsigned long unsigned_long_attribute;
-
-};
-
-interface ex4 : ex2, ex3
-{
- attribute unsigned short unsigned_short_attribute;
- readonly attribute char char_attribute;
- attribute boolean boolean_attribute;
- readonly attribute octet octet_attribute;
- attribute string string_attribute;
- readonly attribute string <10> limited_string_attribute;
- readonly attribute ex4 an_object_attribute;
-};
diff --git a/TAO/TAO_IDL/idl_specs/inherit.idl b/TAO/TAO_IDL/idl_specs/inherit.idl
deleted file mode 100644
index 390f8d7e98e..00000000000
--- a/TAO/TAO_IDL/idl_specs/inherit.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-// $Id$
-
-interface one {
- void op_one();
-};
-interface two : one {
- void op_two();
-};
-interface three : one {
- void op_three();
-};
-interface four : two, three {
- void op_four();
-};
-
-interface five : four, three, two {
- void op_five();
-};
-
diff --git a/TAO/TAO_IDL/idl_specs/module.idl b/TAO/TAO_IDL/idl_specs/module.idl
deleted file mode 100644
index d40f45963a1..00000000000
--- a/TAO/TAO_IDL/idl_specs/module.idl
+++ /dev/null
@@ -1,22 +0,0 @@
-// $Id$
-
-module mod1
-{
- module mod2
- {
- interface ex1
- {
- attribute long l1;
- readonly attribute long l2;
-
- long m1(in long a);
- };
-
- interface ex2 : ex1
- {
- attribute long l3;
-
- long m2(in long a, out long b);
- };
- };
-};
diff --git a/TAO/TAO_IDL/idl_specs/primtypes.idl b/TAO/TAO_IDL/idl_specs/primtypes.idl
deleted file mode 100644
index 63c6a27d809..00000000000
--- a/TAO/TAO_IDL/idl_specs/primtypes.idl
+++ /dev/null
@@ -1,25 +0,0 @@
-// $Id$
-
-interface ex1
-{
- attribute long l1;
- long m1(in long a);
- ex1 mtypes(
- in long a1, inout long a2, out long a3,
- in unsigned long b1, inout unsigned long b2, out unsigned long b3,
- in short c1,inout short c2, out short c3,
- in unsigned short d1, inout unsigned short d2, out unsigned short d3,
- in float e1, inout float e2, out float e3,
- in double f1, inout double f2, out double f3,
- in char g1, inout char g2, out char g3
- );
-
-};
-
-interface ex2 : ex1
-{
- readonly attribute long l2;
-
- long m2(in long a, out long b);
- void mv();
-};
diff --git a/TAO/TAO_IDL/idl_specs/sequence.idl b/TAO/TAO_IDL/idl_specs/sequence.idl
deleted file mode 100644
index 7a86a2cf481..00000000000
--- a/TAO/TAO_IDL/idl_specs/sequence.idl
+++ /dev/null
@@ -1,27 +0,0 @@
-// $Id$
-
-typedef sequence<long,10> vec10;
-typedef sequence<char,20> c20;
-typedef sequence<c20,23> cc23;
-typedef sequence<char,24> c24;
-typedef sequence< sequence<long,10>, 10> c30;
-struct TProgram {
- string path;
- sequence<string> argv;
- sequence<string> envp;
-};
-
-struct foo {
- long f1;
- char f2;
-};
-
-typedef foo foo_ar[20];
-typedef sequence<foo> f_unbounded;
-typedef sequence<foo_ar> f_ar_unbounded;
-
-interface TestSeq {
- attribute f_unbounded fattr;
- typedef sequence<long,10> also_vec10;
- vec10 op(in also_vec10 a, out vec10 b, inout sequence <long,10> c);
-};
diff --git a/TAO/TAO_IDL/idl_specs/simple.idl b/TAO/TAO_IDL/idl_specs/simple.idl
deleted file mode 100644
index b10cdd73668..00000000000
--- a/TAO/TAO_IDL/idl_specs/simple.idl
+++ /dev/null
@@ -1,18 +0,0 @@
-// $Id$
-
-typedef sequence<long,10> vec10;
-
-exception simple_error {
- long reason;
-};
-
-interface simple {
- long op(in long a, out simple b, inout long c) raises (simple_error);
-};
-
-interface simple2 : simple {
- exception simple2_error {
- long reason2;
- };
- long op2(in long a, in simple b, out simple2 c) raises (simple2_error);
-};
diff --git a/TAO/TAO_IDL/idl_specs/simple2.idl b/TAO/TAO_IDL/idl_specs/simple2.idl
deleted file mode 100644
index 8f9202f9485..00000000000
--- a/TAO/TAO_IDL/idl_specs/simple2.idl
+++ /dev/null
@@ -1,28 +0,0 @@
-// $Id$
-
-#include "simple.idl"
-
-
-interface simple3 : simple2 {
- exception OVERFLOW {
- long a;
- string msg;
- };
- exception UNDERFLOW {
- long b;
- string msg;
- };
- exception BADNUM {
- vec10 c;
- };
- exception USERERROR {
- any reason;
- };
- long op3(in long a, out simple3 b, out simple2 c, out simple d)
- raises (OVERFLOW, UNDERFLOW, BADNUM);
- any op4(in any x, inout any y, out any z)
- raises(UNDERFLOW);
-
- oneway void op5()
- raises(USERERROR);
-};
diff --git a/TAO/TAO_IDL/idl_specs/struct.idl b/TAO/TAO_IDL/idl_specs/struct.idl
deleted file mode 100644
index a098efd9b12..00000000000
--- a/TAO/TAO_IDL/idl_specs/struct.idl
+++ /dev/null
@@ -1,54 +0,0 @@
-// $Id$
-
-struct bar {
- long b1;
- long b2;
- string<20> b3;
-};
-
-struct bar2 {
- long b3;
- bar b4;
-};
-
-struct bar3 {
- long b1;
- long b2;
- long b3;
-};
-
-struct bar4 {
- long b1;
- bar2 b2;
- long b3;
- bar3 b4;
- long b5;
-};
-
-
-interface foo {
- long op(in bar a, out bar2 b);
-};
-interface foo2 : foo {
- bar op2(in bar2 a);
- long op3(in long a, out char b);
-};
-
-
-typedef unsigned short Coord;
-
-struct CellPos {
- Coord row;
- Coord col;
-};
-
-struct CellPos2 {
- unsigned short row;
- unsigned short col;
-};
-
-struct CellPos3 {
- Coord row;
- Coord col;
- unsigned short col2;
-};
diff --git a/TAO/TAO_IDL/idl_specs/union.idl b/TAO/TAO_IDL/idl_specs/union.idl
deleted file mode 100644
index 587dae3a9c9..00000000000
--- a/TAO/TAO_IDL/idl_specs/union.idl
+++ /dev/null
@@ -1,28 +0,0 @@
-// $Id$
-
-struct Bar {
- long b1;
- char b2;
-};
-
-union Foo switch (long) {
-case 1: long x;
-case 2: Bar y;
-default: char z;
-};
-
-
-union Foo2 switch (char) {
- case 'a': long x;
- case 'b': Foo y;
-};
-
-interface a {
- struct astruct {
- Foo2 a1;
- Foo a2;
- Bar a3;
- };
- Foo2 opA(in astruct b);
-};
-
diff --git a/TAO/TAO_IDL/idl_specs/union2.idl b/TAO/TAO_IDL/idl_specs/union2.idl
deleted file mode 100644
index 843980ac048..00000000000
--- a/TAO/TAO_IDL/idl_specs/union2.idl
+++ /dev/null
@@ -1,23 +0,0 @@
-// $Id$
-
-enum FooDisc {
- FOO1,
- FOO2
-};
-union Foo switch (FooDisc) {
-case FOO1: long x;
-case FOO2: string y;
-default: char z;
-};
-
-
-struct Bar {
- enum BarDisc {
- BAR1,
- BAR2
- } kind;
- union Foo switch (BarDisc) {
- case BAR1: long x;
- case BAR2: long y;
- } addr;
-};