summaryrefslogtreecommitdiff
path: root/tests/Alt_Mapping/alt_mapping_i.h
blob: a9f3913f78d26059ca85b38f8e17b53189d27cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// $Id$

// ============================================================================
//
// = FILENAME
//    alt_mapping_i.h
//
// = AUTHOR
//    Jeff Parsons
//
// ============================================================================

#ifndef ALT_MAPPING_I_H
#define ALT_MAPPING_I_H

#include "alt_mappingS.h"

class ALT_MAPPING_SKEL_Export Alt_Mapping_i : public POA_Alt_Mapping
{
  // = TITLE
  //    Alt_Mapping_i
  // = DESCRIPTION
  //    Implementation of the Alt_Mapping_i test suite.
public:
  Alt_Mapping_i (CORBA::ORB_ptr orb);

  ~Alt_Mapping_i (void);

  virtual std::string
  test_unbounded_string (const std::string &s1,
                         std::string &s2,
                         std::string &s3);

  virtual Alt_Mapping::StructSeq test_struct_sequence (
    const Alt_Mapping::StructSeq & s1,
    Alt_Mapping::StructSeq & s2,
    Alt_Mapping::StructSeq & s3);
    
  virtual CORBA::StringSeq test_strseq (
    const CORBA::StringSeq & s1,
    CORBA::StringSeq & s2,
    CORBA::StringSeq & s3);
    
  virtual CORBA::LongSeq test_long_sequence (
      const CORBA::LongSeq & s1,
      CORBA::LongSeq & s2,
      CORBA::LongSeq & s3);

  virtual CORBA::OctetSeq test_octet_sequence (
      const CORBA::OctetSeq & s1,
      CORBA::OctetSeq & s2,
      CORBA::OctetSeq & s3);

  void shutdown (void);

private:
  CORBA::ORB_var orb_;
};

#endif /* ALT_MAPPING_I_H */