IIOPC.cpp

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

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