Object_KeyC.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Object_KeyC.h,v 1.34 2006/04/19 08:40:55 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:153
00030 
00031 #ifndef _TAO_IDL_ORIG_OBJECT_KEYC_H_
00032 #define _TAO_IDL_ORIG_OBJECT_KEYC_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/Sequence_T.h"
00047 #include "tao/Seq_Var_T.h"
00048 #include "tao/Seq_Out_T.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 #if defined (__BORLANDC__)
00061 #pragma option push -w-rvl -w-rch -w-ccc -w-inl
00062 #endif /* __BORLANDC__ */
00063 
00064 // TAO_IDL - Generated from
00065 // be\be_visitor_module/module_ch.cpp:48
00066 
00067 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00068 
00069 namespace TAO
00070 {
00071 
00072   // TAO_IDL - Generated from
00073   // be\be_visitor_sequence/sequence_ch.cpp:101
00074 
00075 #if !defined (_TAO_OBJECTKEY_CH_)
00076 #define _TAO_OBJECTKEY_CH_
00077 
00078   class ObjectKey;
00079 
00080   typedef
00081     TAO_FixedSeq_Var_T<
00082         ObjectKey
00083       >
00084     ObjectKey_var;
00085 
00086   typedef
00087     TAO_Seq_Out_T<
00088         ObjectKey
00089       >
00090     ObjectKey_out;
00091 
00092   class TAO_Export ObjectKey
00093     : public
00094         TAO::unbounded_value_sequence<
00095             CORBA::Octet
00096           >
00097   {
00098   public:
00099     ObjectKey (void);
00100     ObjectKey (CORBA::ULong max);
00101     ObjectKey (
00102         CORBA::ULong max,
00103         CORBA::ULong length,
00104         CORBA::Octet* buffer,
00105         CORBA::Boolean release = false
00106       );
00107     ObjectKey (const ObjectKey &);
00108     ~ObjectKey (void);
00109 
00110     typedef ObjectKey_var _var_type;
00111 
00112 #if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
00113     ObjectKey (
00114         CORBA::ULong length,
00115         const ACE_Message_Block* mb
00116       )
00117       : TAO::unbounded_value_sequence<CORBA::Octet> (length, mb) {}
00118 #endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
00119 
00120     // Hand crafted.
00121 
00122     static void encode_sequence_to_string (
00123         char * &str,
00124         const TAO::unbounded_value_sequence<CORBA::Octet> &seq
00125       );
00126     static void decode_string_to_sequence (
00127         TAO::unbounded_value_sequence<CORBA::Octet> &seq,
00128         const char *str
00129       );
00130     static int is_legal (u_char & c);
00131 
00132     /// A special method that gives no regard to how the ORB has
00133     /// configured  the resource factory. This will be used only
00134     /// during Profile decoding and should be safe. This is a solution
00135     /// for the bug report [BUG 1616]
00136     static CORBA::Boolean demarshal_key (ObjectKey &key,
00137                                          TAO_InputCDR &cdr);
00138   };
00139 
00140 #endif /* end #if !defined */
00141 
00142 // TAO_IDL - Generated from
00143 // be\be_visitor_module/module_ch.cpp:66
00144 
00145 } // module TAO
00146 
00147 // TAO_IDL - Generated from
00148 // be\be_visitor_traits.cpp:61
00149 
00150 // Traits specializations.
00151 namespace TAO
00152 {
00153 }
00154 
00155 // TAO_IDL - Generated from
00156 // be\be_visitor_sequence/cdr_op_ch.cpp:71
00157 
00158 #if !defined _TAO_CDR_OP_TAO_ObjectKey_H_
00159 #define _TAO_CDR_OP_TAO_ObjectKey_H_
00160 
00161 TAO_Export CORBA::Boolean operator<< (
00162     TAO_OutputCDR &,
00163     const TAO::ObjectKey &
00164   );
00165 TAO_Export CORBA::Boolean operator>> (
00166     TAO_InputCDR &,
00167     TAO::ObjectKey &
00168   );
00169 
00170 #endif /* _TAO_CDR_OP_TAO_ObjectKey_H_ */
00171 
00172 // TAO_IDL - Generated from
00173 // be\be_codegen.cpp:955
00174 
00175 TAO_END_VERSIONED_NAMESPACE_DECL
00176 
00177 #if defined(_MSC_VER)
00178 #pragma warning(pop)
00179 #endif /* _MSC_VER */
00180 
00181 #if defined (__BORLANDC__)
00182 #pragma option pop
00183 #endif /* __BORLANDC__ */
00184 
00185 #include /**/ "ace/post.h"
00186 
00187 #endif /* ifndef */
00188 
00189 

Generated on Thu Nov 9 11:54:16 2006 for TAO by doxygen 1.3.6