Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / tao / Object_KeyC.h
blob9854f40b8d0694bebfee1f1cb97f40b35b6c1a14
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 (void);
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 #if defined (ACE_HAS_CPP11)
96 ObjectKey (const ObjectKey &) = default;
97 ObjectKey (ObjectKey &&) = default;
98 ObjectKey& operator= (const ObjectKey &) = default;
99 ObjectKey& operator= (ObjectKey &&) = default;
100 #endif /* ACE_HAS_CPP11 */
101 ~ObjectKey (void);
103 typedef ObjectKey_var _var_type;
105 #if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
106 ObjectKey (
107 CORBA::ULong length,
108 const ACE_Message_Block* mb
110 : TAO::unbounded_value_sequence<CORBA::Octet> (length, mb) {}
111 #endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
113 // Hand crafted.
115 static void encode_sequence_to_string (
116 char* & str,
117 TAO::unbounded_value_sequence<CORBA::Octet> const & seq);
118 static void decode_string_to_sequence (
119 TAO::unbounded_value_sequence<CORBA::Octet> &seq,
120 char const * str);
121 static CORBA::Boolean is_legal (unsigned char c);
123 /// A special method that gives no regard to how the ORB has
124 /// configured the resource factory. This will be used only
125 /// during Profile decoding and should be safe. This is a solution
126 /// for the bug report [Bug 1616]
127 static CORBA::Boolean demarshal_key (ObjectKey & key,
128 TAO_InputCDR & cdr);
131 #endif /* end #if !defined */
133 // TAO_IDL - Generated from
134 // be\be_visitor_module/module_ch.cpp:66
136 } // module TAO
138 // TAO_IDL - Generated from
139 // be\be_visitor_traits.cpp:61
141 // Traits specializations.
142 namespace TAO
146 // TAO_IDL - Generated from
147 // be\be_visitor_sequence/cdr_op_ch.cpp:71
149 #if !defined _TAO_CDR_OP_TAO_ObjectKey_H_
150 #define _TAO_CDR_OP_TAO_ObjectKey_H_
152 TAO_Export CORBA::Boolean operator<< (
153 TAO_OutputCDR &,
154 const TAO::ObjectKey &
156 TAO_Export CORBA::Boolean operator>> (
157 TAO_InputCDR &,
158 TAO::ObjectKey &
161 #endif /* _TAO_CDR_OP_TAO_ObjectKey_H_ */
163 // TAO_IDL - Generated from
164 // be\be_codegen.cpp:955
166 TAO_END_VERSIONED_NAMESPACE_DECL
168 #if defined(_MSC_VER)
169 #pragma warning(pop)
170 #endif /* _MSC_VER */
172 #include /**/ "ace/post.h"
174 #endif /* ifndef */