IR_types.pm untested

filter: Statementstmt 0.0% 0 / 94 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 43 Podpod 0.0% 0 / 41 totaltotal 0.0% 0 / 178 CC 1 SCAR 6.9
CC
1
Cov
0%
dk_none
2.0
dk_all
2.0
dk_Attribute
2.0
CRAP 2.0
1 # $Id: IR_types.pm,v 1.2 1997/05/23 12:34:43 schuller Exp $
2 # Copyright (c) 1997 Lunatech Research / Bart Schuller <schuller@lunatech.com>
3 # See the file "Artistic" in the distribution for licensing and
4 # (lack of) warranties.
5  
6 # Automatically generated type code, DO NOT EDIT.
7 # Generated on Wed May 21 15:37:03 1997 with the following command:
8 # ./bin/idl2perl IR.idl
9  
10 use COPE::CORBA::TypeCode;
11 use COPE::CORBA::Object;
12  
13 # IDL:omg.org/CORBA:1.0
14 # IDL:omg.org/CORBA/Identifier:1.0
15 package CORBA::Identifier;
16 $CORBA::Identifier::_tc = CORBA::TypeCode::_create_string_tc(0);
17  
18 # IDL:omg.org/CORBA/ScopedName:1.0
19 package CORBA::ScopedName;
20 $CORBA::ScopedName::_tc = CORBA::TypeCode::_create_string_tc(0);
21  
22 # IDL:omg.org/CORBA/RepositoryId:1.0
23 package CORBA::RepositoryId;
24 $CORBA::RepositoryId::_tc = CORBA::TypeCode::_create_string_tc(0);
25  
26 # IDL:omg.org/CORBA/DefinitionKind:1.0
27 package CORBA::DefinitionKind;
28 $CORBA::DefinitionKind::_tc = CORBA::TypeCode::_create_enum_tc('IDL:omg.org/CORBA/DefinitionKind:1.0', 'DefinitionKind', ['dk_none', 'dk_all', 'dk_Attribute', 'dk_Constant', 'dk_Exception', 'dk_Interface', 'dk_Module', 'dk_Operation', 'dk_Typedef', 'dk_Alias', 'dk_Struct', 'dk_Union', 'dk_Enum', 'dk_Primitive', 'dk_String', 'dk_Sequence', 'dk_Array', 'dk_Repository']);
29 sub dk_none () {0}
30 sub dk_all () {1}
31 sub dk_Attribute () {2}
32 sub dk_Constant () {3}
33 sub dk_Exception () {4}
34 sub dk_Interface () {5}
35 sub dk_Module () {6}
36 sub dk_Operation () {7}
37 sub dk_Typedef () {8}
38 sub dk_Alias () {9}
39 sub dk_Struct () {10}
40 sub dk_Union () {11}
41 sub dk_Enum () {12}
42 sub dk_Primitive () {13}
43 sub dk_String () {14}
44 sub dk_Sequence () {15}
45 sub dk_Array () {16}
46 sub dk_Repository () {17}
47  
48 # IDL:omg.org/CORBA/IRObject:1.0
49 package CORBA::IRObject;
50 $CORBA::IRObject::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/IRObject:1.0', 'IRObject');
51  
52 # IDL:omg.org/CORBA/Principal:1.0
53 package CORBA::Principal;
54 $CORBA::Principal::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/Principal:1.0', 'Principal');
55  
56 # IDL:omg.org/CORBA/VersionSpec:1.0
57 package CORBA::VersionSpec;
58 $CORBA::VersionSpec::_tc = CORBA::TypeCode::_create_string_tc(0);
59  
60 # IDL:omg.org/CORBA/Contained:1.0
61 package CORBA::Contained;
62 $CORBA::Contained::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/Contained:1.0', 'Contained');
63  
64 # IDL:omg.org/CORBA/Contained/Description:1.0
65 package CORBA::Contained::Description;
66 @CORBA::Contained::Description::ISA=qw(CORBA::_Struct);
67 $CORBA::Contained::Description::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/Contained/Description:1.0', 'Description', ['kind' => $CORBA::DefinitionKind::_tc, 'value' => $CORBA::_tc_any]);
68  
69 # IDL:omg.org/CORBA/InterfaceDef:1.0
70 package CORBA::InterfaceDef;
71 $CORBA::InterfaceDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/InterfaceDef:1.0', 'InterfaceDef');
72  
73 # IDL:omg.org/CORBA/InterfaceDefSeq:1.0
74 package CORBA::InterfaceDefSeq;
75 $CORBA::InterfaceDefSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::InterfaceDef::_tc);
76  
77 # IDL:omg.org/CORBA/ContainedSeq:1.0
78 package CORBA::ContainedSeq;
79 $CORBA::ContainedSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::Contained::_tc);
80  
81 # IDL:omg.org/CORBA/StructMember:1.0
82 package CORBA::StructMember;
83 @CORBA::StructMember::ISA=qw(CORBA::_Struct);
84 $CORBA::StructMember::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/StructMember:1.0', 'StructMember', ['name' => $CORBA::Identifier::_tc, 'type' => $CORBA::_tc_TypeCode, 'type_def' => $CORBA::IDLType::_tc]);
85  
86 # IDL:omg.org/CORBA/StructMemberSeq:1.0
87 package CORBA::StructMemberSeq;
88 $CORBA::StructMemberSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::StructMember::_tc);
89  
90 # IDL:omg.org/CORBA/UnionMember:1.0
91 package CORBA::UnionMember;
92 @CORBA::UnionMember::ISA=qw(CORBA::_Struct);
93 $CORBA::UnionMember::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/UnionMember:1.0', 'UnionMember', ['name' => $CORBA::Identifier::_tc, 'label' => $CORBA::_tc_any, 'type' => $CORBA::_tc_TypeCode, 'type_def' => $CORBA::IDLType::_tc]);
94  
95 # IDL:omg.org/CORBA/UnionMemberSeq:1.0
96 package CORBA::UnionMemberSeq;
97 $CORBA::UnionMemberSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::UnionMember::_tc);
98  
99 # IDL:omg.org/CORBA/EnumMemberSeq:1.0
100 package CORBA::EnumMemberSeq;
101 $CORBA::EnumMemberSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::Identifier::_tc);
102  
103 # IDL:omg.org/CORBA/Container:1.0
104 package CORBA::Container;
105 $CORBA::Container::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/Container:1.0', 'Container');
106  
107 # IDL:omg.org/CORBA/Container/Description:1.0
108 package CORBA::Container::Description;
109 @CORBA::Container::Description::ISA=qw(CORBA::_Struct);
110 $CORBA::Container::Description::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/Container/Description:1.0', 'Description', ['contained_object' => $CORBA::Contained::_tc, 'kind' => $CORBA::DefinitionKind::_tc, 'value' => $CORBA::_tc_any]);
111  
112 # IDL:omg.org/CORBA/Container/DescriptionSeq:1.0
113 package CORBA::Container::DescriptionSeq;
114 $CORBA::Container::DescriptionSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::Container::Description::_tc);
115  
116 # IDL:omg.org/CORBA/IDLType:1.0
117 package CORBA::IDLType;
118 $CORBA::IDLType::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/IDLType:1.0', 'IDLType');
119  
120 # IDL:omg.org/CORBA/PrimitiveKind:1.0
121 package CORBA::PrimitiveKind;
122 $CORBA::PrimitiveKind::_tc = CORBA::TypeCode::_create_enum_tc('IDL:omg.org/CORBA/PrimitiveKind:1.0', 'PrimitiveKind', ['pk_null', 'pk_void', 'pk_short', 'pk_long', 'pk_ushort', 'pk_ulong', 'pk_float', 'pk_double', 'pk_boolean', 'pk_char', 'pk_octet', 'pk_any', 'pk_TypeCode', 'pk_Principal', 'pk_string', 'pk_objref']);
123 sub pk_null () {0}
124 sub pk_void () {1}
125 sub pk_short () {2}
126 sub pk_long () {3}
127 sub pk_ushort () {4}
128 sub pk_ulong () {5}
129 sub pk_float () {6}
130 sub pk_double () {7}
131 sub pk_boolean () {8}
132 sub pk_char () {9}
133 sub pk_octet () {10}
134 sub pk_any () {11}
135 sub pk_TypeCode () {12}
136 sub pk_Principal () {13}
137 sub pk_string () {14}
138 sub pk_objref () {15}
139  
140 # IDL:omg.org/CORBA/Repository:1.0
141 package CORBA::Repository;
142 $CORBA::Repository::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/Repository:1.0', 'Repository');
143  
144 # IDL:omg.org/CORBA/ModuleDef:1.0
145 package CORBA::ModuleDef;
146 $CORBA::ModuleDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/ModuleDef:1.0', 'ModuleDef');
147  
148 # IDL:omg.org/CORBA/ModuleDescription:1.0
149 package CORBA::ModuleDescription;
150 @CORBA::ModuleDescription::ISA=qw(CORBA::_Struct);
151 $CORBA::ModuleDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/ModuleDescription:1.0', 'ModuleDescription', ['name' => $CORBA::Identifier::_tc, 'id' => $CORBA::RepositoryId::_tc, 'defined_in' => $CORBA::RepositoryId::_tc, 'version' => $CORBA::VersionSpec::_tc]);
152  
153 # IDL:omg.org/CORBA/ConstantDef:1.0
154 package CORBA::ConstantDef;
155 $CORBA::ConstantDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/ConstantDef:1.0', 'ConstantDef');
156  
157 # IDL:omg.org/CORBA/ConstantDescription:1.0
158 package CORBA::ConstantDescription;
159 @CORBA::ConstantDescription::ISA=qw(CORBA::_Struct);
160 $CORBA::ConstantDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/ConstantDescription:1.0', 'ConstantDescription', ['name' => $CORBA::Identifier::_tc, 'id' => $CORBA::RepositoryId::_tc, 'defined_in' => $CORBA::RepositoryId::_tc, 'version' => $CORBA::VersionSpec::_tc, 'type' => $CORBA::_tc_TypeCode, 'value' => $CORBA::_tc_any]);
161  
162 # IDL:omg.org/CORBA/TypedefDef:1.0
163 package CORBA::TypedefDef;
164 $CORBA::TypedefDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/TypedefDef:1.0', 'TypedefDef');
165  
166 # IDL:omg.org/CORBA/TypeDescription:1.0
167 package CORBA::TypeDescription;
168 @CORBA::TypeDescription::ISA=qw(CORBA::_Struct);
169 $CORBA::TypeDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/TypeDescription:1.0', 'TypeDescription', ['name' => $CORBA::Identifier::_tc, 'id' => $CORBA::RepositoryId::_tc, 'defined_in' => $CORBA::RepositoryId::_tc, 'version' => $CORBA::VersionSpec::_tc, 'type' => $CORBA::_tc_TypeCode]);
170  
171 # IDL:omg.org/CORBA/StructDef:1.0
172 package CORBA::StructDef;
173 $CORBA::StructDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/StructDef:1.0', 'StructDef');
174  
175 # IDL:omg.org/CORBA/UnionDef:1.0
176 package CORBA::UnionDef;
177 $CORBA::UnionDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/UnionDef:1.0', 'UnionDef');
178  
179 # IDL:omg.org/CORBA/EnumDef:1.0
180 package CORBA::EnumDef;
181 $CORBA::EnumDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/EnumDef:1.0', 'EnumDef');
182  
183 # IDL:omg.org/CORBA/AliasDef:1.0
184 package CORBA::AliasDef;
185 $CORBA::AliasDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/AliasDef:1.0', 'AliasDef');
186  
187 # IDL:omg.org/CORBA/PrimitiveDef:1.0
188 package CORBA::PrimitiveDef;
189 $CORBA::PrimitiveDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/PrimitiveDef:1.0', 'PrimitiveDef');
190  
191 # IDL:omg.org/CORBA/StringDef:1.0
192 package CORBA::StringDef;
193 $CORBA::StringDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/StringDef:1.0', 'StringDef');
194  
195 # IDL:omg.org/CORBA/SequenceDef:1.0
196 package CORBA::SequenceDef;
197 $CORBA::SequenceDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/SequenceDef:1.0', 'SequenceDef');
198  
199 # IDL:omg.org/CORBA/ArrayDef:1.0
200 package CORBA::ArrayDef;
201 $CORBA::ArrayDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/ArrayDef:1.0', 'ArrayDef');
202  
203 # IDL:omg.org/CORBA/ExceptionDef:1.0
204 package CORBA::ExceptionDef;
205 $CORBA::ExceptionDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/ExceptionDef:1.0', 'ExceptionDef');
206  
207 # IDL:omg.org/CORBA/ExceptionDescription:1.0
208 package CORBA::ExceptionDescription;
209 @CORBA::ExceptionDescription::ISA=qw(CORBA::_Struct);
210 $CORBA::ExceptionDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/ExceptionDescription:1.0', 'ExceptionDescription', ['name' => $CORBA::Identifier::_tc, 'id' => $CORBA::RepositoryId::_tc, 'defined_in' => $CORBA::RepositoryId::_tc, 'version' => $CORBA::VersionSpec::_tc, 'type' => $CORBA::_tc_TypeCode]);
211  
212 # IDL:omg.org/CORBA/AttributeMode:1.0
213 package CORBA::AttributeMode;
214 $CORBA::AttributeMode::_tc = CORBA::TypeCode::_create_enum_tc('IDL:omg.org/CORBA/AttributeMode:1.0', 'AttributeMode', ['ATTR_NORMAL', 'ATTR_READONLY']);
215 sub ATTR_NORMAL () {0}
216 sub ATTR_READONLY () {1}
217  
218 # IDL:omg.org/CORBA/AttributeDef:1.0
219 package CORBA::AttributeDef;
220 $CORBA::AttributeDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/AttributeDef:1.0', 'AttributeDef');
221  
222 # IDL:omg.org/CORBA/AttributeDescription:1.0
223 package CORBA::AttributeDescription;
224 @CORBA::AttributeDescription::ISA=qw(CORBA::_Struct);
225 $CORBA::AttributeDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/AttributeDescription:1.0', 'AttributeDescription', ['name' => $CORBA::Identifier::_tc, 'id' => $CORBA::RepositoryId::_tc, 'defined_in' => $CORBA::RepositoryId::_tc, 'version' => $CORBA::VersionSpec::_tc, 'type' => $CORBA::_tc_TypeCode, 'mode' => $CORBA::AttributeMode::_tc]);
226  
227 # IDL:omg.org/CORBA/OperationMode:1.0
228 package CORBA::OperationMode;
229 $CORBA::OperationMode::_tc = CORBA::TypeCode::_create_enum_tc('IDL:omg.org/CORBA/OperationMode:1.0', 'OperationMode', ['OP_NORMAL', 'OP_ONEWAY']);
230 sub OP_NORMAL () {0}
231 sub OP_ONEWAY () {1}
232  
233 # IDL:omg.org/CORBA/ParameterMode:1.0
234 package CORBA::ParameterMode;
235 $CORBA::ParameterMode::_tc = CORBA::TypeCode::_create_enum_tc('IDL:omg.org/CORBA/ParameterMode:1.0', 'ParameterMode', ['PARAM_IN', 'PARAM_OUT', 'PARAM_INOUT']);
236 sub PARAM_IN () {0}
237 sub PARAM_OUT () {1}
238 sub PARAM_INOUT () {2}
239  
240 # IDL:omg.org/CORBA/ParameterDescription:1.0
241 package CORBA::ParameterDescription;
242 @CORBA::ParameterDescription::ISA=qw(CORBA::_Struct);
243 $CORBA::ParameterDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/ParameterDescription:1.0', 'ParameterDescription', ['name' => $CORBA::Identifier::_tc, 'type' => $CORBA::_tc_TypeCode, 'type_def' => $CORBA::IDLType::_tc, 'mode' => $CORBA::ParameterMode::_tc]);
244  
245 # IDL:omg.org/CORBA/ParDescriptionSeq:1.0
246 package CORBA::ParDescriptionSeq;
247 $CORBA::ParDescriptionSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::ParameterDescription::_tc);
248  
249 # IDL:omg.org/CORBA/ContextIdentifier:1.0
250 package CORBA::ContextIdentifier;
251 $CORBA::ContextIdentifier::_tc = $CORBA::Identifier::_tc;
252  
253 # IDL:omg.org/CORBA/ContextIdSeq:1.0
254 package CORBA::ContextIdSeq;
255 $CORBA::ContextIdSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::ContextIdentifier::_tc);
256  
257 # IDL:omg.org/CORBA/ExceptionDefSeq:1.0
258 package CORBA::ExceptionDefSeq;
259 $CORBA::ExceptionDefSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::ExceptionDef::_tc);
260  
261 # IDL:omg.org/CORBA/ExcDescriptionSeq:1.0
262 package CORBA::ExcDescriptionSeq;
263 $CORBA::ExcDescriptionSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::ExceptionDescription::_tc);
264  
265 # IDL:omg.org/CORBA/OperationDef:1.0
266 package CORBA::OperationDef;
267 $CORBA::OperationDef::_tc = CORBA::TypeCode::_create_interface_tc('IDL:omg.org/CORBA/OperationDef:1.0', 'OperationDef');
268  
269 # IDL:omg.org/CORBA/OperationDescription:1.0
270 package CORBA::OperationDescription;
271 @CORBA::OperationDescription::ISA=qw(CORBA::_Struct);
272 $CORBA::OperationDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/OperationDescription:1.0', 'OperationDescription', ['name' => $CORBA::Identifier::_tc, 'id' => $CORBA::RepositoryId::_tc, 'defined_in' => $CORBA::RepositoryId::_tc, 'version' => $CORBA::VersionSpec::_tc, 'result' => $CORBA::_tc_TypeCode, 'mode' => $CORBA::OperationMode::_tc, 'contexts' => $CORBA::ContextIdSeq::_tc, 'parameters' => $CORBA::ParDescriptionSeq::_tc, 'exceptions' => $CORBA::ExcDescriptionSeq::_tc]);
273  
274 # IDL:omg.org/CORBA/RepositoryIdSeq:1.0
275 package CORBA::RepositoryIdSeq;
276 $CORBA::RepositoryIdSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::RepositoryId::_tc);
277  
278 # IDL:omg.org/CORBA/OpDescriptionSeq:1.0
279 package CORBA::OpDescriptionSeq;
280 $CORBA::OpDescriptionSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::OperationDescription::_tc);
281  
282 # IDL:omg.org/CORBA/AttrDescriptionSeq:1.0
283 package CORBA::AttrDescriptionSeq;
284 $CORBA::AttrDescriptionSeq::_tc = CORBA::TypeCode::_create_sequence_tc(0, $CORBA::AttributeDescription::_tc);
285  
286 # IDL:omg.org/CORBA/InterfaceDef/FullInterfaceDescription:1.0
287 package CORBA::InterfaceDef::FullInterfaceDescription;
288 @CORBA::InterfaceDef::FullInterfaceDescription::ISA=qw(CORBA::_Struct);
289 $CORBA::InterfaceDef::FullInterfaceDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/InterfaceDef/FullInterfaceDescription:1.0', 'FullInterfaceDescription', ['name' => $CORBA::Identifier::_tc, 'id' => $CORBA::RepositoryId::_tc, 'defined_in' => $CORBA::RepositoryId::_tc, 'version' => $CORBA::VersionSpec::_tc, 'operations' => $CORBA::OpDescriptionSeq::_tc, 'attributes' => $CORBA::AttrDescriptionSeq::_tc, 'base_interfaces' => $CORBA::RepositoryIdSeq::_tc, 'type' => $CORBA::_tc_TypeCode]);
290  
291 # IDL:omg.org/CORBA/InterfaceDescription:1.0
292 package CORBA::InterfaceDescription;
293 @CORBA::InterfaceDescription::ISA=qw(CORBA::_Struct);
294 $CORBA::InterfaceDescription::_tc = CORBA::TypeCode::_create_struct_tc('IDL:omg.org/CORBA/InterfaceDescription:1.0', 'InterfaceDescription', ['name' => $CORBA::Identifier::_tc, 'id' => $CORBA::RepositoryId::_tc, 'defined_in' => $CORBA::RepositoryId::_tc, 'version' => $CORBA::VersionSpec::_tc, 'base_interfaces' => $CORBA::RepositoryIdSeq::_tc]);
295  
296  
297  
298 1;