Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Param_Test / bd_wstr_seq.h
blobe8e8481a3654031be8cb9f09f59859f391c7719d
2 //=============================================================================
3 /**
4 * @file bd_wstr_seq.h
6 * Tests bounded sequences of wide strings
8 * @author Jeff Parsons
9 */
10 //=============================================================================
13 #ifndef PARAM_TEST_BOUNDED_WSTRING_SEQUENCE_H
14 #define PARAM_TEST_BOUNDED_WSTRING_SEQUENCE_H
16 #include "param_testC.h"
18 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
19 // test typedefed sequences (in our case, sequences of wstrings)
20 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
22 class Test_Bounded_WString_Sequence
24 public:
25 /// ctor
26 Test_Bounded_WString_Sequence ();
28 /// dtor
29 ~Test_Bounded_WString_Sequence ();
31 /// run the SII test
32 int run_sii_test (Param_Test_ptr objref);
34 /// return operation name
35 const char *opname () const;
37 /// set values for parameters
38 int init_parameters (Param_Test_ptr objref);
40 /// reset values for CORBA
41 int reset_parameters ();
43 /// check if results are valid
44 CORBA::Boolean check_validity ();
46 /// check if results are valid. This is used for DII results
47 CORBA::Boolean check_validity (CORBA::Request_ptr req);
49 /// print all the values
50 void print_values ();
52 /// invoke DII request with appropriate exception handling.
53 void dii_req_invoke (CORBA::Request *);
55 private:
56 /// operation name
57 char *opname_;
59 /// in parameter
60 Param_Test::Bounded_WStrSeq_var in_;
62 /// inout parameter
63 Param_Test::Bounded_WStrSeq_var inout_;
65 /// out parameter
66 Param_Test::Bounded_WStrSeq_var out_;
68 /// return value
69 Param_Test::Bounded_WStrSeq_var ret_;
72 #endif /* PARAM_TEST_BOUNDED_WSTRING_SEQUENCE_H */