1/* In this file the idl struct will be tested. 2 bla 3 */ 4 5/// idlc defines a test module 6module idlc 7{ 8 9/// test defines a test module 10module test 11{ 12 13typedef sequence< long > Id; 14//struct Bla 15//{ 16// long bla; 17//}; 18 19/** bla 20 BaseStruct defines an * intial struct 21 */ 22struct BaseStruct 23{ 24 Id Id; 25 26 /// a short member 27 short m1; 28 29 /// a unsigned short member 30 unsigned short m2; 31 32 /// a long member 33 long m3; 34 35 /// a unsigned long member 36 unsigned long m4; 37 38 /// a hyper member 39 hyper m5; 40 41 /// a unsigned hyper member 42 unsigned hyper m6; 43 44 /// a string member 45 string m7; 46 47 /// a byte member 48 byte m8; 49 50 /// a type member 51 type m9; 52 53 /// a float member 54 float m10; 55 56 /// a double member 57 double m11; 58 59 /// a char member 60 char m12; 61 62 /// a boolean member 63 boolean m13; 64 65 /// a any member 66 any m14; 67}; 68 69interface XTestBaseTypes; 70 71typedef sequence< long > LongSeq; 72 73typedef sequence< LongSeq > LongSeqSeq; 74 75/** TestStruct deinfes a struct which inherits 76 from the base strcut type BaseStruct. 77*/ 78struct TestStruct : BaseStruct 79{ 80 /// a sequence< long > member 81 sequence< long > ms1; 82 83 /// a sequence< sequence< long > > member 84 sequence< sequence< long > > ms2; 85 86 /// a long array member with dimesion 5,10 87// long ms3[5][10]; 88 89 /// a string array member with dimension 4,8 90// long[5][10] ms4; 91 92 /// an interface member 93 XTestBaseTypes ms5; 94 95 /// a typedef member 96 LongSeq ms6; 97 98 /// a further typedef member 99 LongSeqSeq ms7; 100 101 /// a sequence typedef member 102 sequence<LongSeq> ms8; 103 104}; 105 106}; }; 107 108