//============================================================================= /** * @file sequence_anonymous.idl * * This file contains examples of IDL code that has * caused problems in the past for the TAO IDL * compiler. This test is to make sure the problems * stay fixed. * * * @author Jeff Parsons and TAO users. */ //============================================================================= // Bounded string elements of a sequence, // require the use of CORBA_Any::to_char. interface seqTest { typedef sequence< string<12> > dozens; void send_dozen (inout dozens bouquets); }; // Anonymous sequence members must be unique types even if the // sequence itself is not, so the member name has been // incorported into the sequence class name. #if !defined guards // are generated around code for the inner anonymous sequences. struct twinStruct { sequence > and_; sequence > or_; }; // Nested sequences typedef sequence > outside; struct nestedSeqStruct { sequence, 7> inside; };