2 //=============================================================================
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
12 * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
14 //=============================================================================
17 #include
"tao/OctetSeq.pidl"
20 typedef sequence
<myfoostruct
> myfoostructseq
;
25 myfoostructseq rec_mem
;
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.
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
{
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
{
81 PackagedComponentImplementations implementation
;