2 //=============================================================================
4 * @file multdim_array.h
6 * Tests multi dimensional array
10 //=============================================================================
13 #ifndef PARAM_TEST_MULTDIM_ARRAY_H
14 #define PARAM_TEST_MULTDIM_ARRAY_H
16 #include "param_testC.h"
18 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
19 // test fixed size multidimensional arrays
20 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
21 class Test_Multdim_Array
25 Test_Multdim_Array ();
28 ~Test_Multdim_Array ();
31 int run_sii_test (Param_Test_ptr objref
);
33 /// return operation name
34 const char *opname () const;
36 /// set values for parameters
37 int init_parameters (Param_Test_ptr objref
);
39 /// reset values for CORBA
40 int reset_parameters ();
42 /// check if results are valid
43 CORBA::Boolean
check_validity ();
45 /// check if results are valid. This is used for DII results
46 CORBA::Boolean
check_validity (CORBA::Request_ptr req
);
48 /// print all the values
51 /// invoke DII request with appropriate exception handling.
52 void dii_req_invoke (CORBA::Request
*);
56 CORBA::Boolean
compare (const Param_Test::Multdim_Array_slice
*a1
,
57 const Param_Test::Multdim_Array_slice
*a2
);
60 void print (const Param_Test::Multdim_Array_slice
*a
);
66 Param_Test::Multdim_Array_var in_
;
69 Param_Test::Multdim_Array_var inout_
;
72 Param_Test::Multdim_Array_var out_
;
75 Param_Test::Multdim_Array_var ret_
;
78 #endif /* PARAM_TEST_MULTDIM_ARRAY_H */