Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / tests / Alt_Mapping / ub_struct_seq.h
blob4579bef56744e46076ccea0d84d672fd9ef4cf8e
2 //=============================================================================
3 /**
4 * @file ub_struct_seq.h
6 * Tests unbounded struct sequence
8 * @author Aniruddha Gokhale
9 */
10 //=============================================================================
13 #ifndef ALT_MAPPING_TEST_UNBOUNED_STRUCT_SEQUENCE_H
14 #define ALT_MAPPING_TEST_UNBOUNED_STRUCT_SEQUENCE_H
16 #include "alt_mappingC.h"
18 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
19 // test unbounded sequence of structs
20 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
22 class Test_Unbounded_Struct_Sequence
24 public:
25 /// ctor
26 Test_Unbounded_Struct_Sequence ();
28 /// dtor
29 ~Test_Unbounded_Struct_Sequence ();
31 /// run the SII test
32 int run_sii_test (Alt_Mapping_ptr objref);
34 /// return operation name
35 const char *opname () const;
37 /// set values for parameters
38 int init_parameters (Alt_Mapping_ptr objref);
40 /// reset values for CORBA
41 int reset_parameters ();
43 /// check if results are valid
44 CORBA::Boolean check_validity ();
46 /// print all the values
47 void print_values ();
49 protected:
50 /// compare
51 CORBA::Boolean compare (const Alt_Mapping::StructSeq &s1,
52 const Alt_Mapping::StructSeq &s2);
54 /// print individual sequence
55 void print_sequence (const Alt_Mapping::StructSeq &s);
57 private:
58 char *opname_;
60 Alt_Mapping::StructSeq in_;
62 Alt_Mapping::StructSeq inout_;
64 Alt_Mapping::StructSeq out_;
66 Alt_Mapping::StructSeq ret_;
69 #endif /* ALT_MAPPING_TEST_UNBOUNED_STRUCT_SEQUENCE_H */