blob: 416d311bd9b437a2046907af1f79ce4977047925 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
//=============================================================================
/**
* @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 <parsons@cs.wustl.edu> 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<sequence<short> > and_;
sequence<sequence<short> > or_;
};
// Nested sequences
typedef sequence<sequence<short, 5> > outside;
struct nestedSeqStruct
{
sequence<sequence<outside>, 7> inside;
};
|