Logo Search packages:      
Sourcecode: combat version File versions  Download package

test.idl

typedef enum E_ {
  A, B, C, D
} E;

00006 union Union1 switch (short) {
case  0: short a;
case -1:
case  1: string b;
case -2:
case  2: E c;
};

00014 union Union2 switch (E) {
case A: short av;
case B: string bv;
case C: unsigned long cv;
case D: E dv;
};

00021 union Union3 switch (boolean) {
case TRUE: unsigned short a;
case FALSE: long b;
};

00026 union Union4 switch (boolean) {
case TRUE: unsigned short a;
default: long b;
};

00031 union Union5 switch (short) {
case 1: unsigned short a;
case 2:
case 3: string b;
default: E c;
};

00038 union Union6 switch (boolean) {
case TRUE: sequence<Union6> s;
case FALSE: long l;
};

00043 union Union7 switch (short) {
case 1:
00045   union subu switch (boolean) {
  case TRUE: long l;
  } u;
default:
  struct subs {
    string l;
  } d;
};

00054 interface unions {
  attribute Union1 u1;
  attribute Union2 u2;
  attribute Union3 u3;
  attribute Union4 u4;
  attribute Union5 u5;
  attribute Union6 u6;
  attribute Union7 u7;
};

Generated by  Doxygen 1.6.0   Back to index