source:
trunk/ORBit2-2.14.0/test/dynany.idl
| Last change on this file was 92, checked in by , 19 years ago | |
|---|---|
| File size: 373 bytes | |
| Line | |
|---|---|
| 1 | interface Test { |
| 2 | typedef double MyArray[100]; |
| 3 | enum Fishy { |
| 4 | KIPPER, BLOATER, HERRING |
| 5 | }; |
| 6 | typedef sequence<octet> OSeq; |
| 7 | union English switch (unsigned long) { |
| 8 | case 0: long tgw; |
| 9 | case 1: double nut; |
| 10 | case 2: string atl; |
| 11 | case 3: Fishy rmt; |
| 12 | case 4: OSeq ibid; |
| 13 | }; |
| 14 | struct Unions { |
| 15 | long tgw; |
| 16 | double nut; |
| 17 | string atl; |
| 18 | Fishy rmt; |
| 19 | OSeq ibid; |
| 20 | }; |
| 21 | }; |
Note:
See TracBrowser
for help on using the repository browser.
