1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
// // $Id$ // module UnionIecs { enum E_type_num { E_type_num_called_party_number, E_type_num_calling_party_number, E_type_num_inconnu }; typedef octet T_champ_num; struct S_i_num { E_type_num type_num; T_champ_num nature; }; union S_num switch (boolean) { case TRUE : S_i_num num; } ; };