IIOP_EndpointsC.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // IIOP_EndpointsC.cpp,v 1.19 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:291
00030 
00031 
00032 #include "tao/IIOP_EndpointsC.h"
00033 #include "tao/CDR.h"
00034 
00035 #if defined (__BORLANDC__)
00036 #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
00037 #endif /* __BORLANDC__ */
00038 
00039 // TAO_IDL - Generated from
00040 // be\be_visitor_arg_traits.cpp:70
00041 
00042 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00043 
00044 // Arg traits specializations.
00045 namespace TAO
00046 {
00047 }
00048 
00049 
00050 // TAO_IDL - Generated from
00051 // be\be_visitor_structure/structure_cs.cpp:66
00052 
00053 void
00054 TAO::IIOP_Endpoint_Info::_tao_any_destructor (
00055     void *_tao_void_pointer
00056   )
00057 {
00058   IIOP_Endpoint_Info *_tao_tmp_pointer =
00059     static_cast<IIOP_Endpoint_Info *> (_tao_void_pointer);
00060   delete _tao_tmp_pointer;
00061 }
00062 
00063 // TAO_IDL - Generated from
00064 // be\be_visitor_sequence/sequence_cs.cpp:65
00065 
00066 #if !defined (_TAO_IIOPENDPOINTSEQUENCE_CS_)
00067 #define _TAO_IIOPENDPOINTSEQUENCE_CS_
00068 
00069 TAO::IIOPEndpointSequence::IIOPEndpointSequence (void)
00070 {}
00071 
00072 TAO::IIOPEndpointSequence::IIOPEndpointSequence (
00073     CORBA::ULong max
00074   )
00075   : TAO::unbounded_value_sequence<
00076         TAO::IIOP_Endpoint_Info
00077       >
00078     (max)
00079 {}
00080 
00081 TAO::IIOPEndpointSequence::IIOPEndpointSequence (
00082     CORBA::ULong max,
00083     CORBA::ULong length,
00084     TAO::IIOP_Endpoint_Info * buffer,
00085     CORBA::Boolean release
00086   )
00087   : TAO::unbounded_value_sequence<
00088         TAO::IIOP_Endpoint_Info
00089       >
00090     (max, length, buffer, release)
00091 {}
00092 
00093 TAO::IIOPEndpointSequence::IIOPEndpointSequence (
00094     const IIOPEndpointSequence &seq
00095   )
00096   : TAO::unbounded_value_sequence<
00097         TAO::IIOP_Endpoint_Info
00098       >
00099     (seq)
00100 {}
00101 
00102 TAO::IIOPEndpointSequence::~IIOPEndpointSequence (void)
00103 {}
00104 
00105 void TAO::IIOPEndpointSequence::_tao_any_destructor (
00106     void * _tao_void_pointer
00107   )
00108 {
00109   IIOPEndpointSequence * _tao_tmp_pointer =
00110     static_cast<IIOPEndpointSequence *> (_tao_void_pointer);
00111   delete _tao_tmp_pointer;
00112 }
00113 
00114 #endif /* end #if !defined */
00115 
00116 // TAO_IDL - Generated from
00117 // be\be_visitor_structure/cdr_op_cs.cpp:61
00118 
00119 CORBA::Boolean operator<< (
00120     TAO_OutputCDR &strm,
00121     const TAO::IIOP_Endpoint_Info &_tao_aggregate
00122   )
00123 {
00124   return
00125     (strm << _tao_aggregate.host.in ()) &&
00126     (strm << _tao_aggregate.port) &&
00127     (strm << _tao_aggregate.priority);
00128 }
00129 
00130 CORBA::Boolean operator>> (
00131     TAO_InputCDR &strm,
00132     TAO::IIOP_Endpoint_Info &_tao_aggregate
00133   )
00134 {
00135   return
00136     (strm >> _tao_aggregate.host.out ()) &&
00137     (strm >> _tao_aggregate.port) &&
00138     (strm >> _tao_aggregate.priority);
00139 }
00140 
00141 // TAO_IDL - Generated from
00142 // be\be_visitor_sequence/cdr_op_cs.cpp:96
00143 
00144 #if !defined _TAO_CDR_OP_TAO_IIOPEndpointSequence_CPP_
00145 #define _TAO_CDR_OP_TAO_IIOPEndpointSequence_CPP_
00146 
00147 CORBA::Boolean operator<< (
00148     TAO_OutputCDR &strm,
00149     const TAO::IIOPEndpointSequence &_tao_sequence
00150   )
00151 {
00152   return TAO::marshal_sequence(strm, _tao_sequence);
00153 }
00154 
00155 CORBA::Boolean operator>> (
00156     TAO_InputCDR &strm,
00157     TAO::IIOPEndpointSequence &_tao_sequence
00158   )
00159 {
00160   return TAO::demarshal_sequence(strm, _tao_sequence);
00161 }
00162 
00163 #endif /* _TAO_CDR_OP_TAO_IIOPEndpointSequence_CPP_ */
00164 
00165 TAO_END_VERSIONED_NAMESPACE_DECL

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