00001 // -*- C++ -*- 00002 // 00003 // GIOPC.h,v 1.38 2006/06/20 06:08:51 jwillemsen Exp 00004 00005 // **** Code generated by the The ACE ORB (TAO) IDL Compiler **** 00006 // TAO and the TAO IDL Compiler have been developed by: 00007 // Center for Distributed Object Computing 00008 // Washington University 00009 // St. Louis, MO 00010 // USA 00011 // http://www.cs.wustl.edu/~schmidt/doc-center.html 00012 // and 00013 // Distributed Object Computing Laboratory 00014 // University of California at Irvine 00015 // Irvine, CA 00016 // USA 00017 // http://doc.ece.uci.edu/ 00018 // and 00019 // Institute for Software Integrated Systems 00020 // Vanderbilt University 00021 // Nashville, TN 00022 // USA 00023 // http://www.isis.vanderbilt.edu/ 00024 // 00025 // Information about TAO is available at: 00026 // http://www.cs.wustl.edu/~schmidt/TAO.html 00027 00028 // TAO_IDL - Generated from 00029 // be\be_codegen.cpp:154 00030 00031 #ifndef _TAO_IDL_GIOPC_H_ 00032 #define _TAO_IDL_GIOPC_H_ 00033 00034 #include /**/ "ace/pre.h" 00035 00036 00037 #include "ace/config-all.h" 00038 00039 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00040 # pragma once 00041 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00042 00043 #include "tao/TAO_Export.h" 00044 #include "tao/ORB.h" 00045 #include "tao/Environment.h" 00046 #include "tao/VarOut_T.h" 00047 00048 #include "tao/IOP_IORC.h" 00049 00050 #if defined (TAO_EXPORT_MACRO) 00051 #undef TAO_EXPORT_MACRO 00052 #endif 00053 #define TAO_EXPORT_MACRO TAO_Export 00054 00055 #if defined(_MSC_VER) 00056 #pragma warning(push) 00057 #pragma warning(disable:4250) 00058 #endif /* _MSC_VER */ 00059 00060 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00061 00062 // TAO_IDL - Generated from 00063 // be\be_visitor_module/module_ch.cpp:49 00064 00065 namespace GIOP 00066 { 00067 00068 // TAO_IDL - Generated from 00069 // be\be_visitor_typedef/typedef_ch.cpp:379 00070 00071 typedef CORBA::Short AddressingDisposition; 00072 typedef CORBA::Short_out AddressingDisposition_out; 00073 00074 // TAO_IDL - Generated from 00075 // be\be_visitor_constant/constant_ch.cpp:52 00076 00077 const CORBA::Short KeyAddr = 0; 00078 00079 // TAO_IDL - Generated from 00080 // be\be_visitor_constant/constant_ch.cpp:52 00081 00082 const CORBA::Short ProfileAddr = 1; 00083 00084 // TAO_IDL - Generated from 00085 // be\be_visitor_constant/constant_ch.cpp:52 00086 00087 const CORBA::Short ReferenceAddr = 2; 00088 00089 // TAO_IDL - Generated from 00090 // be\be_type.cpp:258 00091 00092 struct Version; 00093 00094 typedef 00095 TAO_Fixed_Var_T< 00096 Version 00097 > 00098 Version_var; 00099 00100 typedef 00101 Version & 00102 Version_out; 00103 00104 // TAO_IDL - Generated from 00105 // be\be_visitor_structure/structure_ch.cpp:57 00106 00107 struct TAO_Export Version 00108 { 00109 typedef Version_var _var_type; 00110 00111 static void _tao_any_destructor (void *); 00112 CORBA::Octet major; 00113 CORBA::Octet minor; 00114 }; 00115 00116 // TAO_IDL - Generated from 00117 // be\be_type.cpp:258 00118 00119 struct IORAddressingInfo; 00120 00121 typedef 00122 TAO_Var_Var_T< 00123 IORAddressingInfo 00124 > 00125 IORAddressingInfo_var; 00126 00127 typedef 00128 TAO_Out_T< 00129 IORAddressingInfo 00130 > 00131 IORAddressingInfo_out; 00132 00133 // TAO_IDL - Generated from 00134 // be\be_visitor_structure/structure_ch.cpp:57 00135 00136 struct TAO_Export IORAddressingInfo 00137 { 00138 typedef IORAddressingInfo_var _var_type; 00139 00140 static void _tao_any_destructor (void *); 00141 CORBA::ULong selected_profile_index; 00142 IOP::IOR ior; 00143 }; 00144 00145 // TAO_IDL - Generated from 00146 // be\be_type.cpp:258 00147 00148 class TargetAddress; 00149 00150 typedef 00151 TAO_Var_Var_T< 00152 TargetAddress 00153 > 00154 TargetAddress_var; 00155 00156 typedef 00157 TAO_Out_T< 00158 TargetAddress 00159 > 00160 TargetAddress_out; 00161 00162 #if !defined (_GIOP_TARGETADDRESS_CH_) 00163 #define _GIOP_TARGETADDRESS_CH_ 00164 00165 class TAO_Export TargetAddress 00166 { 00167 public: 00168 TargetAddress (void); 00169 TargetAddress (const TargetAddress &); 00170 ~TargetAddress (void); 00171 static void _tao_any_destructor (void*); 00172 00173 TargetAddress &operator= (const TargetAddress &); 00174 00175 // TAO_IDL - Generated from 00176 // be\be_visitor_union/discriminant_ch.cpp:114 00177 00178 void _d (CORBA::Short); 00179 CORBA::Short _d (void) const; 00180 00181 // TAO_IDL - Generated from 00182 // be\be_visitor_union/union_ch.cpp:113 00183 00184 typedef TargetAddress_var _var_type; 00185 typedef TargetAddress_out _out_type; 00186 00187 // TAO_IDL - Generated from 00188 // be\be_visitor_union_branch/public_ch.cpp:557 00189 00190 void object_key (const CORBA::OctetSeq &); 00191 const CORBA::OctetSeq &object_key (void) const; 00192 CORBA::OctetSeq &object_key (void); 00193 00194 // TAO_IDL - Generated from 00195 // be\be_visitor_union_branch/public_ch.cpp:665 00196 00197 void profile (const IOP::TaggedProfile &); 00198 const IOP::TaggedProfile &profile (void) const; 00199 IOP::TaggedProfile &profile (void); 00200 00201 // TAO_IDL - Generated from 00202 // be\be_visitor_union_branch/public_ch.cpp:665 00203 00204 void ior (const ::GIOP::IORAddressingInfo &); 00205 const ::GIOP::IORAddressingInfo &ior (void) const; 00206 ::GIOP::IORAddressingInfo &ior (void); 00207 00208 // TAO_IDL - Generated from 00209 // be\be_visitor_union/union_ch.cpp:147 00210 00211 void _default (void); 00212 private: 00213 CORBA::Short disc_; 00214 CORBA::Short holder_; 00215 00216 union 00217 { 00218 // TAO_IDL - Generated from 00219 // be\be_visitor_union_branch/private_ch.cpp:451 00220 CORBA::OctetSeq *object_key_; 00221 // TAO_IDL - Generated from 00222 // be\be_visitor_union_branch/private_ch.cpp:526 00223 IOP::TaggedProfile *profile_; 00224 // TAO_IDL - Generated from 00225 // be\be_visitor_union_branch/private_ch.cpp:526 00226 ::GIOP::IORAddressingInfo *ior_; 00227 } u_; 00228 00229 // TAO extension - frees any allocated storage. 00230 void _reset (void); 00231 }; 00232 00233 #endif /* end #if !defined */ 00234 00235 // TAO_IDL - Generated from 00236 // be\be_visitor_module/module_ch.cpp:78 00237 00238 } // module GIOP 00239 00240 // TAO_IDL - Generated from 00241 // be\be_visitor_traits.cpp:61 00242 00243 // Traits specializations. 00244 namespace TAO 00245 { 00246 } 00247 00248 // TAO_IDL - Generated from 00249 // be\be_visitor_structure/cdr_op_ch.cpp:54 00250 00251 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const GIOP::Version &); 00252 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, GIOP::Version &); 00253 00254 // TAO_IDL - Generated from 00255 // be\be_visitor_structure/cdr_op_ch.cpp:54 00256 00257 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const GIOP::IORAddressingInfo &); 00258 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, GIOP::IORAddressingInfo &); 00259 00260 // TAO_IDL - Generated from 00261 // be\be_visitor_union/cdr_op_ch.cpp:54 00262 00263 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const GIOP::TargetAddress &); 00264 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, GIOP::TargetAddress &); 00265 00266 // TAO_IDL - Generated from 00267 // be\be_codegen.cpp:1062 00268 00269 TAO_END_VERSIONED_NAMESPACE_DECL 00270 00271 #if defined (__ACE_INLINE__) 00272 #include "tao/GIOPC.inl" 00273 #endif /* defined INLINE */ 00274 00275 #if defined(_MSC_VER) 00276 #pragma warning(pop) 00277 #endif /* _MSC_VER */ 00278 00279 #include /**/ "ace/post.h" 00280 00281 #endif /* ifndef */ 00282 00283