Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_2188_Regression / broken_i.cpp
blob0045d9c897048d50b7ed067b13de5778a12c813f
1 // -*- C++ -*-
2 // **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
3 // TAO and the TAO IDL Compiler have been developed by:
4 // Center for Distributed Object Computing
5 // Washington University
6 // St. Louis, MO
7 // USA
8 // http://www.cs.wustl.edu/~schmidt/doc-center.html
9 // and
10 // Distributed Object Computing Laboratory
11 // University of California at Irvine
12 // Irvine, CA
13 // USA
14 // http://doc.ece.uci.edu/
15 // and
16 // Institute for Software Integrated Systems
17 // Vanderbilt University
18 // Nashville, TN
19 // USA
20 // http://www.isis.vanderbilt.edu/
22 // Information about TAO is available at:
23 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
25 // TAO_IDL - Generated from
26 // be/be_codegen.cpp:932
28 #include "broken_i.h"
32 ServerAdmin_i::ServerAdmin_i (ArrayTest_ptr target)
33 :target_ (ArrayTest::_duplicate(target))
37 ServerAdmin_i::~ServerAdmin_i (void)
41 ArrayTest_ptr
42 ServerAdmin_i::target(void)
44 return ArrayTest::_duplicate(target_.in());
47 void
48 ServerAdmin_i::shutdown (void)
50 int argc = 0;
51 char ** argv = 0;
52 CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
53 orb->shutdown();
56 // Implementation skeleton constructor
57 ArrayTest_i::ArrayTest_i (void)
58 :longArray_ (LongArray_alloc()),
59 ulongArray_ (ULongArray_alloc()),
60 stringArray_ (StringArray_alloc()),
61 shortArray_ (ShortArray_alloc()),
62 ushortArray_ (UShortArray_alloc()),
63 charArray_ (CharArray_alloc()),
64 octetArray_ (OctetArray_alloc()),
65 doubleArray_ (DoubleArray_alloc()),
66 floatArray_ (FloatArray_alloc()),
67 bucketArray_ (BucketArray_alloc()),
68 accountArray_ (AccountArray_alloc()),
69 booleanArray_ (BooleanArray_alloc()),
70 longArrayArray_ (LongArrayArray_alloc()),
71 enumArray_ (MyEnumArray_alloc())
75 // Implementation skeleton destructor
76 ArrayTest_i::~ArrayTest_i (void)
78 LongArray_free (longArray_);
79 ULongArray_free (ulongArray_);
80 StringArray_free (stringArray_);
81 ShortArray_free (shortArray_);
82 UShortArray_free (ushortArray_);
83 CharArray_free (charArray_);
84 OctetArray_free (octetArray_);
85 DoubleArray_free (doubleArray_);
86 FloatArray_free (floatArray_);
87 BucketArray_free (bucketArray_);
88 AccountArray_free (accountArray_);
89 BooleanArray_free (booleanArray_);
90 LongArrayArray_free (longArrayArray_);
91 MyEnumArray_free (enumArray_);
94 ::LongArray_slice * ArrayTest_i::longArrayOp (
95 const ::LongArray p1,
96 ::LongArray p2,
97 ::LongArray_out p3
100 ::LongArray_copy(p3,p2);
101 return LongArray_dup(p1);
104 ::StringArray_slice * ArrayTest_i::stringArrayOp (
105 const ::StringArray p1,
106 ::StringArray p2,
107 ::StringArray_out p3
110 // Add your implementation here
111 ::StringArray_copy(p3,p2);
112 return StringArray_dup(p1);
115 ::ShortArray_slice * ArrayTest_i::shortArrayOp (
116 const ::ShortArray p1,
117 ::ShortArray p2,
118 ::ShortArray_out p3
121 ::ShortArray_copy(p3,p2);
122 return ShortArray_dup(p1);
123 // Add your implementation here
126 ::UShortArray_slice * ArrayTest_i::ushortArrayOp (
127 const ::UShortArray p1,
128 ::UShortArray p2,
129 ::UShortArray_out p3
132 // Add your implementation here
133 ::UShortArray_copy(p3,p2);
134 return UShortArray_dup(p1);
137 ::CharArray_slice * ArrayTest_i::charArrayOp (
138 const ::CharArray p1,
139 ::CharArray p2,
140 ::CharArray_out p3
143 // Add your implementation here
144 ::CharArray_copy(p3,p2);
145 return CharArray_dup(p1);
149 ::OctetArray_slice * ArrayTest_i::octetArrayOp (
150 const ::OctetArray p1,
151 ::OctetArray p2,
152 ::OctetArray_out p3
155 // Add your implementation here
156 ::OctetArray_copy(p3,p2);
157 return OctetArray_dup(p1);
160 ::DoubleArray_slice * ArrayTest_i::doubleArrayOp (
161 const ::DoubleArray p1,
162 ::DoubleArray p2,
163 ::DoubleArray_out p3
166 // Add your implementation here
167 ::DoubleArray_copy(p3,p2);
168 return DoubleArray_dup(p1);
171 ::LongArray_slice * ArrayTest_i::a_longArray (
175 // Add your implementation here
176 return LongArray_dup(longArray_);
179 void ArrayTest_i::a_longArray (
180 const ::LongArray a_longArray
183 // Add your implementation here
184 LongArray_copy(longArray_,a_longArray);
187 ::ULongArray_slice * ArrayTest_i::a_ulongArray (
191 // Add your implementation here
192 return ULongArray_dup(ulongArray_);
195 void ArrayTest_i::a_ulongArray (
196 const ::ULongArray a_ulongArray
199 // Add your implementation here
200 ULongArray_copy (ulongArray_,a_ulongArray);
203 ::StringArray_slice * ArrayTest_i::a_stringArray (
207 // Add your implementation here
208 return StringArray_dup (stringArray_);
211 void ArrayTest_i::a_stringArray (
212 const ::StringArray a_stringArray
215 // Add your implementation here
216 StringArray_copy (stringArray_,a_stringArray);
219 ::ShortArray_slice * ArrayTest_i::a_shortArray (
223 // Add your implementation here
224 return ShortArray_dup (shortArray_);
227 void ArrayTest_i::a_shortArray (
228 const ::ShortArray a_shortArray
231 // Add your implementation here
232 ShortArray_copy (shortArray_,a_shortArray);
235 ::UShortArray_slice * ArrayTest_i::a_ushortArray (
239 // Add your implementation here
240 return UShortArray_dup (ushortArray_);
243 void ArrayTest_i::a_ushortArray (
244 const ::UShortArray a_ushortArray
247 // Add your implementation here
248 UShortArray_copy (ushortArray_,a_ushortArray);
251 CORBA::Char ArrayTest_i::a_char (
255 // Add your implementation here
256 return char_;
259 void ArrayTest_i::a_char (
260 ::CORBA::Char a_char
263 // Add your implementation here
264 char_ = a_char;
267 ::CharArray_slice * ArrayTest_i::a_charArray (
271 return CharArray_dup (charArray_);
274 void ArrayTest_i::a_charArray (
275 const ::CharArray a_charArray
278 // Add your implementation here
279 CharArray_copy (charArray_,a_charArray);
282 ::OctetArray_slice * ArrayTest_i::a_octetArray (
286 // Add your implementation here
287 return OctetArray_dup (octetArray_);
290 void ArrayTest_i::a_octetArray (
291 const ::OctetArray a_octetArray
294 // Add your implementation here
295 OctetArray_copy (octetArray_,a_octetArray);
298 ::DoubleArray_slice * ArrayTest_i::a_doubleArray (
302 // Add your implementation here
303 return DoubleArray_dup (doubleArray_);
306 void ArrayTest_i::a_doubleArray (
307 const ::DoubleArray a_doubleArray
310 // Add your implementation here
311 DoubleArray_copy (doubleArray_,a_doubleArray);
314 ::FloatArray_slice * ArrayTest_i::a_floatArray (
318 // Add your implementation here
319 return FloatArray_dup (floatArray_);
322 void ArrayTest_i::a_floatArray (
323 const ::FloatArray a_floatArray
326 // Add your implementation here
327 FloatArray_copy (floatArray_,a_floatArray);
330 ::BucketArray_slice * ArrayTest_i::a_bucketArray (
334 // Add your implementation here
335 return BucketArray_dup (bucketArray_);
338 void ArrayTest_i::a_bucketArray (
339 const ::BucketArray a_bucketArray
342 // Add your implementation here
343 BucketArray_copy (bucketArray_,a_bucketArray);
346 ::AccountArray_slice * ArrayTest_i::a_accountArray (
350 // Add your implementation here
351 return AccountArray_dup (accountArray_);
354 void ArrayTest_i::a_accountArray (
355 const ::AccountArray a_accountArray
358 // Add your implementation here
359 AccountArray_copy (accountArray_,a_accountArray);
362 ::BooleanArray_slice * ArrayTest_i::a_booleanArray (
366 // Add your implementation here
367 return BooleanArray_dup (booleanArray_);
370 void ArrayTest_i::a_booleanArray (
371 const ::BooleanArray a_booleanArray
374 // Add your implementation here
375 BooleanArray_copy (booleanArray_,a_booleanArray);
378 ::LongArrayArray_slice * ArrayTest_i::a_longArrayArray (
382 // Add your implementation here
383 return LongArrayArray_dup (longArrayArray_);
386 void ArrayTest_i::a_longArrayArray (
387 const ::LongArrayArray a_longArrayArray
390 // Add your implementation here
391 LongArrayArray_copy (longArrayArray_,a_longArrayArray);
394 ::MyEnumArray_slice * ArrayTest_i::a_myEnumArray (
398 // Add your implementation here
399 return MyEnumArray_dup (enumArray_);
402 void ArrayTest_i::a_myEnumArray (
403 const ::MyEnumArray a_myEnumArray
406 // Add your implementation here
407 MyEnumArray_copy (enumArray_,a_myEnumArray);