summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-21 20:56:18 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-05-21 20:56:18 +0000
commit760ead1b643efe115db5dfc210f09a78af60ace2 (patch)
tree7d79a3c179d90b27e3d042a7a9eea417fdb04e66
parent523378483eedbd1d1bf7acbad5a9c0e56f890b39 (diff)
downloadATCD-760ead1b643efe115db5dfc210f09a78af60ace2.tar.gz
Added two structs and a method for the complex Any test.
-rw-r--r--TAO/tests/Param_Test/param_test.idl26
1 files changed, 24 insertions, 2 deletions
diff --git a/TAO/tests/Param_Test/param_test.idl b/TAO/tests/Param_Test/param_test.idl
index af38dda2207..4ec36807208 100644
--- a/TAO/tests/Param_Test/param_test.idl
+++ b/TAO/tests/Param_Test/param_test.idl
@@ -147,8 +147,8 @@ interface Param_Test
typedef sequence<any> AnySeq;
AnySeq test_anyseq (in AnySeq s1,
- inout AnySeq s2,
- out AnySeq s3);
+ inout AnySeq s2,
+ out AnySeq s3);
/* typedef sequence<any, 32> Bounded_AnySeq;
Bounded_AnySeq test_bounded_anyseq (in Bounded_AnySeq s1,
@@ -266,6 +266,28 @@ interface Param_Test
inout Big_Union u2,
out Big_Union u3);
+ // The following two structs are used to help compose
+ // a complex Any for the test function below.
+ struct level4
+ {
+ string level5_string;
+
+ any level5_any;
+ };
+
+ struct level8
+ {
+ string level9_string;
+
+ boolean level9_boolean;
+
+ short level9_short;
+ };
+
+ any test_complex_any (in any ca1,
+ inout any ca2,
+ out any ca3);
+
// multidimensional arrays (fixed). The following will give rise to a 3
// dimensional array. The following will define a 3-dimensional array of size
// DIM1 X DIM2 X DIM3