update dev300-m58
[ooovba.git] / idlc / test / struct.idl
blobf87cd504af7247676859c57a9dc88b8569f80db6
1 /* In this file the idl struct will be tested.
2 bla
3 */
5 /// idlc defines a test module
6 module idlc
9 /// test defines a test module
10 module test
13 typedef sequence< long > Id;
14 //struct Bla
15 //{
16 // long bla;
17 //};
19 /** bla
20 BaseStruct defines an * intial struct
22 struct BaseStruct
24 Id Id;
26 /// a short member
27 short m1;
29 /// a unsigned short member
30 unsigned short m2;
32 /// a long member
33 long m3;
35 /// a unsigned long member
36 unsigned long m4;
38 /// a hyper member
39 hyper m5;
41 /// a unsigned hyper member
42 unsigned hyper m6;
44 /// a string member
45 string m7;
47 /// a byte member
48 byte m8;
50 /// a type member
51 type m9;
53 /// a float member
54 float m10;
56 /// a double member
57 double m11;
59 /// a char member
60 char m12;
62 /// a boolean member
63 boolean m13;
65 /// a any member
66 any m14;
69 interface XTestBaseTypes;
71 typedef sequence< long > LongSeq;
73 typedef sequence< LongSeq > LongSeqSeq;
75 /** TestStruct deinfes a struct which inherits
76 from the base strcut type BaseStruct.
78 struct TestStruct : BaseStruct
80 /// a sequence< long > member
81 sequence< long > ms1;
83 /// a sequence< sequence< long > > member
84 sequence< sequence< long > > ms2;
86 /// a long array member with dimesion 5,10
87 // long ms3[5][10];
89 /// a string array member with dimension 4,8
90 // long[5][10] ms4;
92 /// an interface member
93 XTestBaseTypes ms5;
95 /// a typedef member
96 LongSeq ms6;
98 /// a further typedef member
99 LongSeqSeq ms7;
101 /// a sequence typedef member
102 sequence<LongSeq> ms8;
106 }; };