Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / IDL_Test / sequence.idl
blob9be0050789758a208ac50f03f010d02ceca86d81
2 //=============================================================================
3 /**
4 * @file sequence.idl
6 * This file contains examples of IDL code that has
7 * caused problems in the past for the TAO IDL
8 * compiler. This test is to make sure the problems
9 * stay fixed.
12 * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
14 //=============================================================================
17 #include "tao/OctetSeq.pidl"
19 struct myfoostruct;
20 typedef sequence<myfoostruct> myfoostructseq;
22 struct myfoostruct
24 string str_mem;
25 myfoostructseq rec_mem;
28 exception nasty
30 string id;
31 myfoostruct rec_info;
34 // This will produce a link error if a handcraft we have added to
35 // tao/OctetSeqC.h is ever removed.
36 typedef sequence<CORBA::OctetSeq> OctetSeqSeq;
38 local interface seqLocal
42 typedef sequence<seqLocal> seqLocalSeq;
44 // Tests deeply nested recursive type.
45 module Deployment
47 struct ComponentPackageDescription;
49 typedef sequence < ComponentPackageDescription > ComponentPackageDescriptions;
51 struct ComponentAssemblyDescription {
52 ComponentPackageDescriptions instance;
55 typedef sequence < ComponentAssemblyDescription > ComponentAssemblyDescriptions;
57 struct NamedImplementationArtifact;
59 typedef sequence < NamedImplementationArtifact > NamedImplementationArtifacts;
61 struct NamedImplementationArtifact {
62 string str;
63 NamedImplementationArtifacts dependsOn;
66 struct MonolithicImplementationDescription {
67 NamedImplementationArtifacts primaryArtifact;
70 typedef sequence < MonolithicImplementationDescription > MonolithicImplementationDescriptions;
72 struct PackagedComponentImplementation {
73 ComponentAssemblyDescriptions assemblyImpl;
74 MonolithicImplementationDescriptions monolithicImpl;
77 typedef sequence < PackagedComponentImplementation > PackagedComponentImplementations;
79 struct ComponentPackageDescription {
80 string str;
81 PackagedComponentImplementations implementation;