summaryrefslogtreecommitdiff
path: root/TAO/tao/BoundsC.h
blob: a3f04327beb17fb320f08f2e6ee87c10b77306a7 (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
/* -*- C++ -*- */
//$Id$
// ******  Code generated by the The ACE ORB (TAO) IDL Compiler *******
// TAO and the TAO IDL Compiler have been developed by the Center for
// Distributed Object Computing at Washington University, St. Louis.
//
// Information about TAO is available at:
//                 http://www.cs.wustl.edu/~schmidt/TAO.html

#ifndef _TAO_IDL_BOUNDSC_H_
#define _TAO_IDL_BOUNDSC_H_
#include "ace/pre.h"

#include "tao/corbafwd.h"
#include "tao/Exception.h"
#include "tao/CDR.h"
#include "tao/Any.h"

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


#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
#endif
#define TAO_EXPORT_MACRO
#if defined (TAO_EXPORT_NESTED_CLASSES)
#  if defined (TAO_EXPORT_NESTED_MACRO)
#    undef TAO_EXPORT_NESTED_MACRO
#  endif /* defined (TAO_EXPORT_NESTED_MACRO) */
#  define TAO_EXPORT_NESTED_MACRO
#endif /* TAO_EXPORT_NESTED_CLASSES */
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
#endif /* _MSC_VER >= 1200 */
#pragma warning(disable:4250)
#endif /* _MSC_VER */

#if !defined (_CORBA_BOUNDS_CH_)
#define _CORBA_BOUNDS_CH_

  class  TAO_Export CORBA_Bounds : public CORBA::UserException
  {
  public:

    CORBA_Bounds (void); // default ctor
    CORBA_Bounds (const CORBA_Bounds &); // copy ctor
    ~CORBA_Bounds (void); // dtor
    CORBA_Bounds &operator= (const CORBA_Bounds &);


    virtual void _raise (void);

    virtual void _tao_encode (TAO_OutputCDR &cdr,
                              CORBA::Environment &) const;
    virtual void _tao_decode (TAO_InputCDR &cdr,
                              CORBA::Environment &);

    static CORBA_Bounds *_downcast (CORBA::Exception *);
    static void _tao_any_destructor (void*);

    // = TAO extension
    static CORBA::Exception *_alloc (void);
    virtual CORBA::TypeCode_ptr _type (void) const;
  }; // exception CORBA::Bounds

#endif /* end #if !defined */


void  operator<<= (CORBA::Any &, const CORBA::Bounds &); // copying version
void  operator<<= (CORBA::Any &, CORBA::Bounds*); // noncopying version
CORBA::Boolean  operator>>= (const CORBA::Any &, CORBA::Bounds *&);

#ifndef __ACE_INLINE__

CORBA::Boolean  operator<< (TAO_OutputCDR &, const CORBA::Bounds &); //
CORBA::Boolean  operator>> (TAO_InputCDR &, CORBA::Bounds &);

#endif /* __ACE_INLINE__ */


#if defined (__ACE_INLINE__)
#include "tao/BoundsC.i"
#endif /* defined INLINE */

#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#pragma warning(pop)
#endif /* _MSC_VER */

#include "ace/post.h"
#endif /* ifndef */