s/Uint/UInt/g
[ACE_TAO.git] / TAO / tao / Object_KeyC.h
blob3ad8a251c095fb026cb940e13103f0cae27a4dd2
1 // -*- C++ -*-
2 /**
3 * Code generated by the The ACE ORB (TAO) IDL Compiler v2.5.6
4 * TAO and the TAO IDL Compiler have been developed by:
5 * Center for Distributed Object Computing
6 * Washington University
7 * St. Louis, MO
8 * USA
9 * and
10 * Distributed Object Computing Laboratory
11 * University of California at Irvine
12 * Irvine, CA
13 * USA
14 * and
15 * Institute for Software Integrated Systems
16 * Vanderbilt University
17 * Nashville, TN
18 * USA
19 * https://www.isis.vanderbilt.edu/
21 * Information about TAO is available at:
22 * https://www.dre.vanderbilt.edu/~schmidt/TAO.html
23 **/
25 // TAO_IDL - Generated from
26 // be\be_codegen.cpp:153
28 #ifndef _TAO_IDL_ORIG_OBJECT_KEYC_H_
29 #define _TAO_IDL_ORIG_OBJECT_KEYC_H_
31 #include /**/ "ace/pre.h"
34 #include "ace/config-all.h"
36 #if !defined (ACE_LACKS_PRAGMA_ONCE)
37 # pragma once
38 #endif /* ACE_LACKS_PRAGMA_ONCE */
40 #include /**/ "tao/TAO_Export.h"
41 #include "tao/ORB.h"
42 #include "tao/Environment.h"
43 #include "tao/Sequence_T.h"
44 #include "tao/Seq_Var_T.h"
45 #include "tao/Seq_Out_T.h"
47 #if defined(_MSC_VER)
48 #pragma warning(push)
49 #pragma warning(disable:4250)
50 #endif /* _MSC_VER */
52 // TAO_IDL - Generated from
53 // be\be_visitor_module/module_ch.cpp:48
55 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
57 namespace TAO
60 // TAO_IDL - Generated from
61 // be\be_visitor_sequence/sequence_ch.cpp:101
63 #if !defined (_TAO_OBJECTKEY_CH_)
64 #define _TAO_OBJECTKEY_CH_
66 class ObjectKey;
68 typedef
69 TAO_FixedSeq_Var_T<
70 ObjectKey
72 ObjectKey_var;
74 typedef
75 TAO_Seq_Out_T<
76 ObjectKey
78 ObjectKey_out;
80 class TAO_Export ObjectKey
81 : public
82 TAO::unbounded_value_sequence<
83 CORBA::Octet
86 public:
87 ObjectKey ();
88 ObjectKey (CORBA::ULong max);
89 ObjectKey (
90 CORBA::ULong max,
91 CORBA::ULong length,
92 CORBA::Octet* buffer,
93 CORBA::Boolean release = false
95 ObjectKey (const ObjectKey &) = default;
96 ObjectKey (ObjectKey &&) = default;
97 ObjectKey& operator= (const ObjectKey &) = default;
98 ObjectKey& operator= (ObjectKey &&) = default;
99 ~ObjectKey ();
101 typedef ObjectKey_var _var_type;
103 #if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
104 ObjectKey (
105 CORBA::ULong length,
106 const ACE_Message_Block* mb
108 : TAO::unbounded_value_sequence<CORBA::Octet> (length, mb) {}
109 #endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
111 // Hand crafted.
113 static void encode_sequence_to_string (
114 char* & str,
115 TAO::unbounded_value_sequence<CORBA::Octet> const & seq);
116 static void decode_string_to_sequence (
117 TAO::unbounded_value_sequence<CORBA::Octet> &seq,
118 char const * str);
119 static CORBA::Boolean is_legal (unsigned char c);
121 /// A special method that gives no regard to how the ORB has
122 /// configured the resource factory. This will be used only
123 /// during Profile decoding and should be safe. This is a solution
124 /// for the bug report [Bug 1616]
125 static CORBA::Boolean demarshal_key (ObjectKey & key,
126 TAO_InputCDR & cdr);
129 #endif /* end #if !defined */
131 // TAO_IDL - Generated from
132 // be\be_visitor_module/module_ch.cpp:66
134 } // module TAO
136 // TAO_IDL - Generated from
137 // be\be_visitor_traits.cpp:61
139 // Traits specializations.
140 namespace TAO
144 // TAO_IDL - Generated from
145 // be\be_visitor_sequence/cdr_op_ch.cpp:71
147 #if !defined _TAO_CDR_OP_TAO_ObjectKey_H_
148 #define _TAO_CDR_OP_TAO_ObjectKey_H_
150 TAO_Export CORBA::Boolean operator<< (
151 TAO_OutputCDR &,
152 const TAO::ObjectKey &
154 TAO_Export CORBA::Boolean operator>> (
155 TAO_InputCDR &,
156 TAO::ObjectKey &
159 #endif /* _TAO_CDR_OP_TAO_ObjectKey_H_ */
161 // TAO_IDL - Generated from
162 // be\be_codegen.cpp:955
164 TAO_END_VERSIONED_NAMESPACE_DECL
166 #if defined(_MSC_VER)
167 #pragma warning(pop)
168 #endif /* _MSC_VER */
170 #include /**/ "ace/post.h"
172 #endif /* ifndef */