1 //=============================================================================
3 * @file sequence_anonymous.idl
5 * This file contains examples of IDL code that has
6 * caused problems in the past for the TAO IDL
7 * compiler. This test is to make sure the problems
11 * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
13 //=============================================================================
15 // Bounded string elements of a sequence,
16 // require the use of CORBA_Any::to_char.
19 typedef sequence
< string<12> > dozens
;
21 void send_dozen
(inout dozens bouquets
);
24 // Anonymous sequence members must be unique types even if the
25 // sequence itself is not, so the member name has been
26 // incorported into the sequence class name. #if !defined guards
27 // are generated around code for the inner anonymous sequences.
30 sequence
<sequence
<short> > and_
;
31 sequence
<sequence
<short> > or_
;
35 typedef sequence
<sequence
<short, 5> > outside
;
37 struct nestedSeqStruct
39 sequence
<sequence
<outside
>, 7> inside
;