~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/tao/Object_KeyC.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// -*- C++ -*-
2
 
//
3
 
// Object_KeyC.h,v 1.22 2003/12/22 16:36:21 jwillemsen Exp
4
 
 
5
 
// ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
6
 
// TAO and the TAO IDL Compiler have been developed by:
7
 
//       Center for Distributed Object Computing
8
 
//       Washington University
9
 
//       St. Louis, MO
10
 
//       USA
11
 
//       http://www.cs.wustl.edu/~schmidt/doc-center.html
12
 
// and
13
 
//       Distributed Object Computing Laboratory
14
 
//       University of California at Irvine
15
 
//       Irvine, CA
16
 
//       USA
17
 
//       http://doc.ece.uci.edu/
18
 
// and
19
 
//       Institute for Software Integrated Systems
20
 
//       Vanderbilt University
21
 
//       Nashville, TN
22
 
//       USA
23
 
//       http://www.isis.vanderbilt.edu/
24
 
//
25
 
// Information about TAO is available at:
26
 
//     http://www.cs.wustl.edu/~schmidt/TAO.html
27
 
 
28
 
// TAO_IDL - Generated from
29
 
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151
30
 
 
31
 
#ifndef _TAO_IDL_ORIG_OBJECT_KEYC_H_
32
 
#define _TAO_IDL_ORIG_OBJECT_KEYC_H_
33
 
 
34
 
#include /**/ "ace/pre.h"
35
 
 
36
 
#include "tao/TAO_Export.h"
37
 
 
38
 
#if !defined (ACE_LACKS_PRAGMA_ONCE)
39
 
# pragma once
40
 
#endif /* ACE_LACKS_PRAGMA_ONCE */
41
 
 
42
 
#include "tao/Sequence_T.h"
43
 
#include "tao/Seq_Var_T.h"
44
 
#include "tao/Seq_Out_T.h"
45
 
 
46
 
#if defined (TAO_EXPORT_MACRO)
47
 
#undef TAO_EXPORT_MACRO
48
 
#endif
49
 
#define TAO_EXPORT_MACRO TAO_Export
50
 
 
51
 
#if defined (TAO_EXPORT_NESTED_CLASSES)
52
 
#  if defined (TAO_EXPORT_NESTED_MACRO)
53
 
#    undef TAO_EXPORT_NESTED_MACRO
54
 
#  endif /* defined (TAO_EXPORT_NESTED_MACRO) */
55
 
#  define TAO_EXPORT_NESTED_MACRO TAO_Export
56
 
#endif /* TAO_EXPORT_NESTED_CLASSES */
57
 
 
58
 
#if defined(_MSC_VER)
59
 
#if (_MSC_VER >= 1200)
60
 
#pragma warning(push)
61
 
#endif /* _MSC_VER >= 1200 */
62
 
#pragma warning(disable:4250)
63
 
#endif /* _MSC_VER */
64
 
 
65
 
#if defined (__BORLANDC__)
66
 
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
67
 
#endif /* __BORLANDC__ */
68
 
 
69
 
// TAO_IDL - Generated from
70
 
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48
71
 
 
72
 
namespace TAO
73
 
{
74
 
 
75
 
  // TAO_IDL - Generated from
76
 
  // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:101
77
 
 
78
 
#if !defined (_TAO_OBJECTKEY_CH_)
79
 
#define _TAO_OBJECTKEY_CH_
80
 
 
81
 
  class ObjectKey;
82
 
 
83
 
  typedef
84
 
    TAO_FixedSeq_Var_T<
85
 
        ObjectKey,
86
 
        CORBA::Octet
87
 
      >
88
 
    ObjectKey_var;
89
 
 
90
 
  typedef
91
 
    TAO_Seq_Out_T<
92
 
        ObjectKey,
93
 
        ObjectKey_var,
94
 
        CORBA::Octet
95
 
      >
96
 
    ObjectKey_out;
97
 
 
98
 
  class TAO_Export ObjectKey
99
 
    : public
100
 
        TAO_Unbounded_Sequence<
101
 
            CORBA::Octet
102
 
          >
103
 
  {
104
 
  public:
105
 
    ObjectKey (void);
106
 
    ObjectKey (CORBA::ULong max);
107
 
    ObjectKey (
108
 
        CORBA::ULong max,
109
 
        CORBA::ULong length,
110
 
        CORBA::Octet* buffer,
111
 
        CORBA::Boolean release = 0
112
 
      );
113
 
    ObjectKey (const ObjectKey &);
114
 
    ~ObjectKey (void);
115
 
 
116
 
    typedef ObjectKey_var _var_type;
117
 
 
118
 
#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
119
 
    ObjectKey (
120
 
        CORBA::ULong length,
121
 
        const ACE_Message_Block* mb
122
 
      )
123
 
      : TAO_Unbounded_Sequence<CORBA::Octet> (length, mb) {}
124
 
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
125
 
 
126
 
    // Hand crafted.
127
 
 
128
 
    static void encode_sequence_to_string (
129
 
        char * &str,
130
 
        const TAO_Unbounded_Sequence<CORBA::Octet> &seq
131
 
      );
132
 
    static void decode_string_to_sequence (
133
 
        TAO_Unbounded_Sequence<CORBA::Octet> &seq,
134
 
        const char *str
135
 
      );
136
 
    static int is_legal (u_char & c);
137
 
 
138
 
    /// A special method that gives no regard to how the ORB has
139
 
    /// configured  the resource factory. This will be used only
140
 
    /// during Profile decoding and should be safe. This is a solution
141
 
    /// for the bug report [BUG 1616]
142
 
    static CORBA::Boolean demarshal_key (ObjectKey &key,
143
 
                                         TAO_InputCDR &cdr);
144
 
  };
145
 
 
146
 
#endif /* end #if !defined */
147
 
 
148
 
// TAO_IDL - Generated from
149
 
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:66
150
 
 
151
 
} // module TAO
152
 
 
153
 
// TAO_IDL - Generated from
154
 
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_traits.cpp:48
155
 
 
156
 
// Traits specializations.
157
 
namespace TAO
158
 
{
159
 
}
160
 
 
161
 
// TAO_IDL - Generated from
162
 
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48
163
 
 
164
 
#ifndef __ACE_INLINE__
165
 
 
166
 
// TAO_IDL - Generated from
167
 
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:70
168
 
 
169
 
#if !defined _TAO_CDR_OP_TAO_ObjectKey_H_
170
 
#define _TAO_CDR_OP_TAO_ObjectKey_H_
171
 
 
172
 
TAO_Export CORBA::Boolean operator<< (
173
 
    TAO_OutputCDR &,
174
 
    const TAO::ObjectKey &
175
 
  );
176
 
TAO_Export CORBA::Boolean operator>> (
177
 
    TAO_InputCDR &,
178
 
    TAO::ObjectKey &
179
 
  );
180
 
 
181
 
#endif /* _TAO_CDR_OP_TAO_ObjectKey_H_ */
182
 
 
183
 
// TAO_IDL - Generated from
184
 
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64
185
 
 
186
 
#endif /* __ACE_INLINE__ */
187
 
 
188
 
// TAO_IDL - Generated from
189
 
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:969
190
 
 
191
 
#if defined (__ACE_INLINE__)
192
 
#include "Object_KeyC.i"
193
 
#endif /* defined INLINE */
194
 
 
195
 
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
196
 
#pragma warning(pop)
197
 
#endif /* _MSC_VER */
198
 
 
199
 
#if defined (__BORLANDC__)
200
 
#pragma option pop
201
 
#endif /* __BORLANDC__ */
202
 
 
203
 
#include /**/ "ace/post.h"
204
 
#endif /* ifndef */