00001 module A {
00002 module B {
00003 module C {
00004 interface Bar { };
00005 };
00006 };
00007 };
00008
00009
00010 module MainModule {
00011
00012
typedef sequence< sequence<long> >
myNestedSeq ;
00013
typedef long myArray[3][4];
00014
00015
struct MyStruct {
00016
long num1, num2;
00017 string name;
00018 };
00019
00020
const long max = 127;
00021
00022 exception MyEx {
00023 string msg;
00024 };
00025
00026
00027
struct Node {
00028 string data;
00029 Node next;
00030 };
00031
00032 interface Bar { };
00033
00034 exception MyException {
00035 string message;
00036 };
00037
00038 interface
class { };
00039
00040
typedef sequence<long>
myLongSeq;
00041
00042 interface Foo {
00043 attribute string name;
00044
long bar(in
short a,
00045 inout string s,
00046 out Foo f);
00047 };
00048
00049
00050 enum Color {
red,
blue,
green };
00051
typedef Foo MyFoo;
00052
00053
union MyUnion switch(long) {
00054
case 1: string name;
00055
case 2:
long num;
00056
case 3: MyStruct str;
00057
case 4: MyFoo mf;
00058
default:
boolean b;
00059 };
00060
00061 };