uiop_endpointsC.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // uiop_endpointsC.cpp,v 1.12 2006/04/19 09:33:00 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:291
00030 
00031 
00032 #include "tao/AnyTypeCode/Null_RefCount_Policy.h"
00033 #include "tao/AnyTypeCode/TypeCode_Constants.h"
00034 #include "tao/AnyTypeCode/Alias_TypeCode_Static.h"
00035 #include "tao/AnyTypeCode/Sequence_TypeCode_Static.h"
00036 #include "tao/AnyTypeCode/String_TypeCode_Static.h"
00037 #include "tao/AnyTypeCode/Struct_TypeCode_Static.h"
00038 #include "tao/AnyTypeCode/TypeCode_Struct_Field.h"
00039 #include "tao/Strategies/uiop_endpointsC.h"
00040 #include "tao/CDR.h"
00041 
00042 #if defined (__BORLANDC__)
00043 #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
00044 #endif /* __BORLANDC__ */
00045 
00046 // TAO_IDL - Generated from
00047 // be/be_visitor_arg_traits.cpp:69
00048 
00049 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00050 
00051 // Arg traits specializations.
00052 namespace TAO
00053 {
00054 }
00055 
00056 
00057 // TAO_IDL - Generated from
00058 // be/be_visitor_typecode/struct_typecode.cpp:74
00059 
00060 static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> const _tao_fields_TAO_UIOP_Endpoint_Info[] =
00061   {
00062     { "rendezvous_point", &CORBA::_tc_string },
00063     { "priority", &CORBA::_tc_short }
00064 
00065   };
00066 static TAO::TypeCode::Struct<char const *,
00067                              CORBA::TypeCode_ptr const *,
00068                              TAO::TypeCode::Struct_Field<char const *,
00069                                                          CORBA::TypeCode_ptr const *> const *,
00070                              TAO::Null_RefCount_Policy>
00071   _tao_tc_TAO_UIOP_Endpoint_Info (
00072     CORBA::tk_struct,
00073     "IDL:TAO_UIOP_Endpoint_Info:1.0",
00074     "TAO_UIOP_Endpoint_Info",
00075     _tao_fields_TAO_UIOP_Endpoint_Info,
00076     2);
00077 
00078 ::CORBA::TypeCode_ptr const _tc_TAO_UIOP_Endpoint_Info =
00079   &_tao_tc_TAO_UIOP_Endpoint_Info;
00080 
00081 // TAO_IDL - Generated from
00082 // be/be_visitor_structure/structure_cs.cpp:66
00083 
00084 
00085 
00086 // TAO_IDL - Generated from
00087 // be/be_visitor_sequence/sequence_cs.cpp:65
00088 
00089 #if !defined (_TAO_UIOPENDPOINTSEQUENCE_CS_)
00090 #define _TAO_UIOPENDPOINTSEQUENCE_CS_
00091 
00092 TAO_UIOPEndpointSequence::TAO_UIOPEndpointSequence (void)
00093 {}
00094 
00095 TAO_UIOPEndpointSequence::TAO_UIOPEndpointSequence (
00096     CORBA::ULong max
00097   )
00098   : TAO::unbounded_value_sequence<
00099         TAO_UIOP_Endpoint_Info
00100       >
00101     (max)
00102 {}
00103 
00104 TAO_UIOPEndpointSequence::TAO_UIOPEndpointSequence (
00105     CORBA::ULong max,
00106     CORBA::ULong length,
00107     TAO_UIOP_Endpoint_Info * buffer,
00108     CORBA::Boolean release
00109   )
00110   : TAO::unbounded_value_sequence<
00111         TAO_UIOP_Endpoint_Info
00112       >
00113     (max, length, buffer, release)
00114 {}
00115 
00116 TAO_UIOPEndpointSequence::TAO_UIOPEndpointSequence (
00117     const TAO_UIOPEndpointSequence &seq
00118   )
00119   : TAO::unbounded_value_sequence<
00120         TAO_UIOP_Endpoint_Info
00121       >
00122     (seq)
00123 {}
00124 
00125 TAO_UIOPEndpointSequence::~TAO_UIOPEndpointSequence (void)
00126 {}
00127 
00128 #endif /* end #if !defined */
00129 
00130 // TAO_IDL - Generated from
00131 // be/be_visitor_typecode/alias_typecode.cpp:31
00132 
00133 
00134 
00135 // TAO_IDL - Generated from
00136 // be/be_visitor_typecode/typecode_defn.cpp:925
00137 
00138 
00139 #ifndef _TAO_TYPECODE_TAO_UIOPEndpointSequence_GUARD
00140 #define _TAO_TYPECODE_TAO_UIOPEndpointSequence_GUARD
00141 namespace TAO
00142 {
00143   namespace TypeCode
00144   {
00145     TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *,
00146                             TAO::Null_RefCount_Policy>
00147       TAO_UIOPEndpointSequence_0 (
00148         CORBA::tk_sequence,
00149         &_tc_TAO_UIOP_Endpoint_Info,
00150         0U);
00151 
00152     ::CORBA::TypeCode_ptr const tc_TAO_UIOPEndpointSequence_0 =
00153       &TAO_UIOPEndpointSequence_0;
00154 
00155   }
00156 }
00157 
00158 
00159 #endif /* _TAO_TYPECODE_TAO_UIOPEndpointSequence_GUARD */
00160 static TAO::TypeCode::Alias<char const *,
00161                             CORBA::TypeCode_ptr const *,
00162                             TAO::Null_RefCount_Policy>
00163   _tao_tc_TAO_UIOPEndpointSequence (
00164     CORBA::tk_alias,
00165     "IDL:TAO_UIOPEndpointSequence:1.0",
00166     "TAO_UIOPEndpointSequence",
00167     &TAO::TypeCode::tc_TAO_UIOPEndpointSequence_0);
00168 
00169 ::CORBA::TypeCode_ptr const _tc_TAO_UIOPEndpointSequence =
00170   &_tao_tc_TAO_UIOPEndpointSequence;
00171 
00172 // TAO_IDL - Generated from
00173 // be/be_visitor_structure/cdr_op_cs.cpp:61
00174 
00175 CORBA::Boolean operator<< (
00176     TAO_OutputCDR &strm,
00177     const TAO_UIOP_Endpoint_Info &_tao_aggregate
00178   )
00179 {
00180   return
00181     (strm << _tao_aggregate.rendezvous_point.in ()) &&
00182     (strm << _tao_aggregate.priority);
00183 }
00184 
00185 CORBA::Boolean operator>> (
00186     TAO_InputCDR &strm,
00187     TAO_UIOP_Endpoint_Info &_tao_aggregate
00188   )
00189 {
00190   return
00191     (strm >> _tao_aggregate.rendezvous_point.out ()) &&
00192     (strm >> _tao_aggregate.priority);
00193 }
00194 
00195 // TAO_IDL - Generated from
00196 // be/be_visitor_sequence/cdr_op_cs.cpp:96
00197 
00198 #if !defined _TAO_CDR_OP_TAO_UIOPEndpointSequence_CPP_
00199 #define _TAO_CDR_OP_TAO_UIOPEndpointSequence_CPP_
00200 
00201 CORBA::Boolean operator<< (
00202     TAO_OutputCDR &strm,
00203     const TAO_UIOPEndpointSequence &_tao_sequence
00204   )
00205 {
00206   return TAO::marshal_sequence(strm, _tao_sequence);
00207 }
00208 
00209 CORBA::Boolean operator>> (
00210     TAO_InputCDR &strm,
00211     TAO_UIOPEndpointSequence &_tao_sequence
00212   )
00213 {
00214   return TAO::demarshal_sequence(strm, _tao_sequence);
00215 }
00216 
00217 #endif /* _TAO_CDR_OP_TAO_UIOPEndpointSequence_CPP_ */
00218 
00219 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 13:39:31 2006 for TAO_Strategies by doxygen 1.3.6