Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Alt_Mapping / ub_string.h
blob7af096f8bf8824385a36e771259d355bacf624e5
2 //=============================================================================
3 /**
4 * @file ub_string.h
6 * Tests unbounded string
8 * @author Aniruddha Gokhale
9 */
10 //=============================================================================
13 #ifndef PARAM_TEST_UNBOUNDED_STRING_H
14 #define PARAM_TEST_UNBOUNDED_STRING_H
16 #include "alt_mappingC.h"
18 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
19 // test unbounded strings
20 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
21 class Test_Unbounded_String
23 public:
24 /// ctor
25 Test_Unbounded_String ();
27 /// dtor
28 ~Test_Unbounded_String ();
30 /// run the SII test
31 int run_sii_test (Alt_Mapping_ptr objref);
33 /// return operation name
34 const char *opname () const;
36 /// set values for parameters
37 int init_parameters (Alt_Mapping_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
49 void print_values ();
51 private:
52 /// operation name
53 char *opname_;
55 std::string in_;
56 std::string inout_;
57 std::string out_;
58 std::string ret_;
61 #endif /* PARAM_TEST_UNBOUNDED_STRING_H */