summaryrefslogtreecommitdiff
path: root/TAO/interop-tests/wchar/interop_wchar_i.h
blob: bec5f5c7e3c9b736a222fda2eb721ebcd8939e7e (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
// -*- C++ -*-
//
// $Id$

// ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
//       Center for Distributed Object Computing
//       Washington University
//       St. Louis, MO
//       USA
//       http://www.cs.wustl.edu/~schmidt/doc-center.html
// and
//       Distributed Object Computing Laboratory
//       University of California at Irvine
//       Irvine, CA
//       USA
//       http://doc.ece.uci.edu/
//
// Information about TAO is available at:
//     http://www.cs.wustl.edu/~schmidt/TAO.html

// TAO_IDL - Generated from
// be/be_codegen.cpp:923

#ifndef INTEROP_WCHAR_I_H_
#define INTEROP_WCHAR_I_H_

#include "interop_wcharS.h"
#include "wchar_reference.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

//Class interop_WChar_Passer_i
class  interop_WChar_Passer_i : public virtual POA_interop::WChar_Passer
{
public:
  //Constructor
  interop_WChar_Passer_i (CORBA::ORB_ptr o, int verbose);

  //Destructor
  virtual ~interop_WChar_Passer_i (void);

  virtual char * orb_name (void)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::Boolean wchar_to_server (CORBA::WChar test,
                                          CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::WChar wchar_from_server (CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::Boolean wstring_to_server (const CORBA::WChar * test,
                                            CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::WChar * wstring_from_server (CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::Boolean warray_to_server (const interop::warray test,
                                           CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual interop::warray_slice * warray_from_server (CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::Boolean wstruct_to_server (const interop::wstruct & test,
                                            CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual interop::wstruct * wstruct_from_server (CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::Boolean wstructseq_to_server (const interop::wstructseq & test,
                                            CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual interop::wstructseq * wstructseq_from_server (CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

 virtual CORBA::Boolean wunion_to_server (const interop::wunion & test,
                                           CORBA::Short key)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual interop::wunion * wunion_from_server (CORBA::Short key,
                                                interop::wchar_types type)
    ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::Boolean any_to_server (const CORBA::Any &test,
                                        CORBA::Short key)
  ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::Any* any_from_server (CORBA::Short key,
                                       interop::wchar_types type)
  ACE_THROW_SPEC (( CORBA::SystemException ));

  virtual CORBA::Any* any_echo (const CORBA::Any &test)
  ACE_THROW_SPEC (( CORBA::SystemException ));

virtual void exception_test (CORBA::Short key)
  ACE_THROW_SPEC (( CORBA::SystemException,
                    interop::WChar_Passer::WStringException ));

virtual void shutdown (void)
  ACE_THROW_SPEC (( CORBA::SystemException ));

private:
  CORBA::ORB_var orb_;
  wchar_reference ref_;

};


#endif /* INTEROP_WCHAR_I_H_  */