Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Param_Test / ub_string.h
blob18c4990da1430234384ac63cf19b362d4608a19a
2 //=============================================================================
3 /**
4 * @file ub_string.h
6 * Tests unbounded string
8 * @author Aniruddha Gokhale
9 */
10 //=============================================================================
12 #ifndef PARAM_TEST_UNBOUNDED_STRING_H
13 #define PARAM_TEST_UNBOUNDED_STRING_H
15 #include "param_testC.h"
17 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
18 // test unbounded strings
19 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
20 class Test_Unbounded_String
22 public:
23 /// ctor
24 Test_Unbounded_String (void);
26 /// dtor
27 ~Test_Unbounded_String (void);
29 /// run the SII test
30 int run_sii_test (Param_Test_ptr objref);
32 /// return operation name
33 const char *opname (void) const;
35 /// set values for parameters
36 int init_parameters (Param_Test_ptr objref);
38 /// reset values for CORBA
39 int reset_parameters (void);
41 /// check if results are valid
42 CORBA::Boolean check_validity (void);
44 /// check if results are valid. This is used for DII results
45 CORBA::Boolean check_validity (CORBA::Request_ptr req);
47 /// print all the values
48 void print_values (void);
50 /// invoke DII request with appropriate exception handling.
51 void dii_req_invoke (CORBA::Request *);
53 private:
54 /// operation name
55 char *opname_;
57 /// in parameter
58 char *in_;
60 /// inout parameter
61 char *inout_;
63 /// out parameter
64 char *out_;
66 /// return value
67 char *ret_;
70 #endif /* PARAM_TEST_UNBOUNDED_STRING_H */