Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Param_Test / ulonglong.h
blobcef67dbda49c65dfd26b2cc3524bd8ccde2bf137
2 //=============================================================================
3 /**
4 * @file ulonglong.h
6 * Tests 64bit unsigned longs.
8 * @author Aniruddha Gokhale
9 */
10 //=============================================================================
13 #ifndef PARAM_TEST_ULONGLONG_H
14 #define PARAM_TEST_ULONGLONG_H
16 #include "param_testC.h"
18 class Test_ULongLong
20 public:
21 /// ctor
22 Test_ULongLong (void);
24 /// dtor
25 ~Test_ULongLong (void);
27 /// run the SII test
28 int run_sii_test (Param_Test_ptr objref);
30 /// return operation name
31 const char *opname (void) const;
33 /// set values for parameters
34 int init_parameters (Param_Test_ptr objref);
36 /// reset values for CORBA
37 int reset_parameters (void);
39 /// check if results are valid
40 CORBA::Boolean check_validity (void);
42 /// check if results are valid. This is used for DII results
43 CORBA::Boolean check_validity (CORBA::Request_ptr req);
45 /// print all the values
46 void print_values (void);
48 /// invoke DII request with appropriate exception handling.
49 void dii_req_invoke (CORBA::Request *);
51 private:
52 /// operation name
53 char *opname_;
55 /// in parameter
56 CORBA::ULongLong in_;
58 /// inout parameter
59 CORBA::ULongLong inout_;
61 /// out parameter
62 CORBA::ULongLong out_;
64 /// return value
65 CORBA::ULongLong ret_;
68 #endif /* PARAM_TEST_ULONGLONG_H */