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
8 // http://www.cs.wustl.edu/~schmidt/doc-center.html
10 // Distributed Object Computing Laboratory
11 // University of California at Irvine
14 // http://doc.ece.uci.edu/
16 // Institute for Software Integrated Systems
17 // Vanderbilt University
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
31 ServerAdmin_i::ServerAdmin_i (ArrayTest_ptr target
)
32 :target_ (ArrayTest::_duplicate(target
))
36 ServerAdmin_i::~ServerAdmin_i ()
41 ServerAdmin_i::target()
43 return ArrayTest::_duplicate(target_
.in());
47 ServerAdmin_i::shutdown ()
51 CORBA::ORB_var orb
= CORBA::ORB_init (argc
, argv
);
55 // Implementation skeleton constructor
56 ArrayTest_i::ArrayTest_i ()
57 :longArray_ (LongArray_alloc()),
58 ulongArray_ (ULongArray_alloc()),
59 stringArray_ (StringArray_alloc()),
60 shortArray_ (ShortArray_alloc()),
61 ushortArray_ (UShortArray_alloc()),
62 charArray_ (CharArray_alloc()),
63 octetArray_ (OctetArray_alloc()),
64 doubleArray_ (DoubleArray_alloc()),
65 floatArray_ (FloatArray_alloc()),
66 bucketArray_ (BucketArray_alloc()),
67 accountArray_ (AccountArray_alloc()),
68 booleanArray_ (BooleanArray_alloc()),
69 longArrayArray_ (LongArrayArray_alloc()),
70 enumArray_ (MyEnumArray_alloc())
74 // Implementation skeleton destructor
75 ArrayTest_i::~ArrayTest_i ()
77 LongArray_free (longArray_
);
78 ULongArray_free (ulongArray_
);
79 StringArray_free (stringArray_
);
80 ShortArray_free (shortArray_
);
81 UShortArray_free (ushortArray_
);
82 CharArray_free (charArray_
);
83 OctetArray_free (octetArray_
);
84 DoubleArray_free (doubleArray_
);
85 FloatArray_free (floatArray_
);
86 BucketArray_free (bucketArray_
);
87 AccountArray_free (accountArray_
);
88 BooleanArray_free (booleanArray_
);
89 LongArrayArray_free (longArrayArray_
);
90 MyEnumArray_free (enumArray_
);
93 ::LongArray_slice
* ArrayTest_i::longArrayOp (
99 ::LongArray_copy(p3
,p2
);
100 return LongArray_dup(p1
);
103 ::StringArray_slice
* ArrayTest_i::stringArrayOp (
104 const ::StringArray p1
,
109 // Add your implementation here
110 ::StringArray_copy(p3
,p2
);
111 return StringArray_dup(p1
);
114 ::ShortArray_slice
* ArrayTest_i::shortArrayOp (
115 const ::ShortArray p1
,
120 ::ShortArray_copy(p3
,p2
);
121 return ShortArray_dup(p1
);
122 // Add your implementation here
125 ::UShortArray_slice
* ArrayTest_i::ushortArrayOp (
126 const ::UShortArray p1
,
131 // Add your implementation here
132 ::UShortArray_copy(p3
,p2
);
133 return UShortArray_dup(p1
);
136 ::CharArray_slice
* ArrayTest_i::charArrayOp (
137 const ::CharArray p1
,
142 // Add your implementation here
143 ::CharArray_copy(p3
,p2
);
144 return CharArray_dup(p1
);
147 ::OctetArray_slice
* ArrayTest_i::octetArrayOp (
148 const ::OctetArray p1
,
153 // Add your implementation here
154 ::OctetArray_copy(p3
,p2
);
155 return OctetArray_dup(p1
);
158 ::DoubleArray_slice
* ArrayTest_i::doubleArrayOp (
159 const ::DoubleArray p1
,
164 // Add your implementation here
165 ::DoubleArray_copy(p3
,p2
);
166 return DoubleArray_dup(p1
);
169 ::LongArray_slice
* ArrayTest_i::a_longArray (
173 // Add your implementation here
174 return LongArray_dup(longArray_
);
177 void ArrayTest_i::a_longArray (
178 const ::LongArray a_longArray
181 // Add your implementation here
182 LongArray_copy(longArray_
,a_longArray
);
185 ::ULongArray_slice
* ArrayTest_i::a_ulongArray (
189 // Add your implementation here
190 return ULongArray_dup(ulongArray_
);
193 void ArrayTest_i::a_ulongArray (
194 const ::ULongArray a_ulongArray
197 // Add your implementation here
198 ULongArray_copy (ulongArray_
,a_ulongArray
);
201 ::StringArray_slice
* ArrayTest_i::a_stringArray (
205 // Add your implementation here
206 return StringArray_dup (stringArray_
);
209 void ArrayTest_i::a_stringArray (
210 const ::StringArray a_stringArray
213 // Add your implementation here
214 StringArray_copy (stringArray_
,a_stringArray
);
217 ::ShortArray_slice
* ArrayTest_i::a_shortArray (
221 // Add your implementation here
222 return ShortArray_dup (shortArray_
);
225 void ArrayTest_i::a_shortArray (
226 const ::ShortArray a_shortArray
229 // Add your implementation here
230 ShortArray_copy (shortArray_
,a_shortArray
);
233 ::UShortArray_slice
* ArrayTest_i::a_ushortArray (
237 // Add your implementation here
238 return UShortArray_dup (ushortArray_
);
241 void ArrayTest_i::a_ushortArray (
242 const ::UShortArray a_ushortArray
245 // Add your implementation here
246 UShortArray_copy (ushortArray_
,a_ushortArray
);
249 CORBA::Char
ArrayTest_i::a_char (
253 // Add your implementation here
257 void ArrayTest_i::a_char (
261 // Add your implementation here
265 ::CharArray_slice
* ArrayTest_i::a_charArray (
269 return CharArray_dup (charArray_
);
272 void ArrayTest_i::a_charArray (
273 const ::CharArray a_charArray
276 // Add your implementation here
277 CharArray_copy (charArray_
,a_charArray
);
280 ::OctetArray_slice
* ArrayTest_i::a_octetArray (
284 // Add your implementation here
285 return OctetArray_dup (octetArray_
);
288 void ArrayTest_i::a_octetArray (
289 const ::OctetArray a_octetArray
292 // Add your implementation here
293 OctetArray_copy (octetArray_
,a_octetArray
);
296 ::DoubleArray_slice
* ArrayTest_i::a_doubleArray (
300 // Add your implementation here
301 return DoubleArray_dup (doubleArray_
);
304 void ArrayTest_i::a_doubleArray (
305 const ::DoubleArray a_doubleArray
308 // Add your implementation here
309 DoubleArray_copy (doubleArray_
,a_doubleArray
);
312 ::FloatArray_slice
* ArrayTest_i::a_floatArray (
316 // Add your implementation here
317 return FloatArray_dup (floatArray_
);
320 void ArrayTest_i::a_floatArray (
321 const ::FloatArray a_floatArray
324 // Add your implementation here
325 FloatArray_copy (floatArray_
,a_floatArray
);
328 ::BucketArray_slice
* ArrayTest_i::a_bucketArray (
332 // Add your implementation here
333 return BucketArray_dup (bucketArray_
);
336 void ArrayTest_i::a_bucketArray (
337 const ::BucketArray a_bucketArray
340 // Add your implementation here
341 BucketArray_copy (bucketArray_
,a_bucketArray
);
344 ::AccountArray_slice
* ArrayTest_i::a_accountArray (
348 // Add your implementation here
349 return AccountArray_dup (accountArray_
);
352 void ArrayTest_i::a_accountArray (
353 const ::AccountArray a_accountArray
356 // Add your implementation here
357 AccountArray_copy (accountArray_
,a_accountArray
);
360 ::BooleanArray_slice
* ArrayTest_i::a_booleanArray (
364 // Add your implementation here
365 return BooleanArray_dup (booleanArray_
);
368 void ArrayTest_i::a_booleanArray (
369 const ::BooleanArray a_booleanArray
372 // Add your implementation here
373 BooleanArray_copy (booleanArray_
,a_booleanArray
);
376 ::LongArrayArray_slice
* ArrayTest_i::a_longArrayArray (
380 // Add your implementation here
381 return LongArrayArray_dup (longArrayArray_
);
384 void ArrayTest_i::a_longArrayArray (
385 const ::LongArrayArray a_longArrayArray
388 // Add your implementation here
389 LongArrayArray_copy (longArrayArray_
,a_longArrayArray
);
392 ::MyEnumArray_slice
* ArrayTest_i::a_myEnumArray (
396 // Add your implementation here
397 return MyEnumArray_dup (enumArray_
);
400 void ArrayTest_i::a_myEnumArray (
401 const ::MyEnumArray a_myEnumArray
404 // Add your implementation here
405 MyEnumArray_copy (enumArray_
,a_myEnumArray
);