00001 // -*- C++ -*- 00002 // 00003 // TimeBaseC.cpp,v 1.31 2006/03/10 07:19:06 jtc 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/TimeBaseC.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 TimeBase::UtcT::_tao_any_destructor ( 00055 void *_tao_void_pointer 00056 ) 00057 { 00058 UtcT *_tao_tmp_pointer = 00059 static_cast<UtcT *> (_tao_void_pointer); 00060 delete _tao_tmp_pointer; 00061 } 00062 00063 // TAO_IDL - Generated from 00064 // be\be_visitor_structure/structure_cs.cpp:66 00065 00066 void 00067 TimeBase::IntervalT::_tao_any_destructor ( 00068 void *_tao_void_pointer 00069 ) 00070 { 00071 IntervalT *_tao_tmp_pointer = 00072 static_cast<IntervalT *> (_tao_void_pointer); 00073 delete _tao_tmp_pointer; 00074 } 00075 00076 // TAO_IDL - Generated from 00077 // be\be_visitor_structure/cdr_op_cs.cpp:61 00078 00079 CORBA::Boolean operator<< ( 00080 TAO_OutputCDR &strm, 00081 const TimeBase::UtcT &_tao_aggregate 00082 ) 00083 { 00084 return 00085 (strm << _tao_aggregate.time) && 00086 (strm << _tao_aggregate.inacclo) && 00087 (strm << _tao_aggregate.inacchi) && 00088 (strm << _tao_aggregate.tdf); 00089 } 00090 00091 CORBA::Boolean operator>> ( 00092 TAO_InputCDR &strm, 00093 TimeBase::UtcT &_tao_aggregate 00094 ) 00095 { 00096 return 00097 (strm >> _tao_aggregate.time) && 00098 (strm >> _tao_aggregate.inacclo) && 00099 (strm >> _tao_aggregate.inacchi) && 00100 (strm >> _tao_aggregate.tdf); 00101 } 00102 00103 // TAO_IDL - Generated from 00104 // be\be_visitor_structure/cdr_op_cs.cpp:61 00105 00106 CORBA::Boolean operator<< ( 00107 TAO_OutputCDR &strm, 00108 const TimeBase::IntervalT &_tao_aggregate 00109 ) 00110 { 00111 return 00112 (strm << _tao_aggregate.lower_bound) && 00113 (strm << _tao_aggregate.upper_bound); 00114 } 00115 00116 CORBA::Boolean operator>> ( 00117 TAO_InputCDR &strm, 00118 TimeBase::IntervalT &_tao_aggregate 00119 ) 00120 { 00121 return 00122 (strm >> _tao_aggregate.lower_bound) && 00123 (strm >> _tao_aggregate.upper_bound); 00124 } 00125 00126 TAO_END_VERSIONED_NAMESPACE_DECL