ParameterModeC.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // ParameterModeC.cpp,v 1.14 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/ParameterModeC.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_enum/cdr_op_cs.cpp:51
00052 
00053 CORBA::Boolean operator<< (TAO_OutputCDR & strm, CORBA::ParameterMode _tao_enumerator)
00054 {
00055   return strm << static_cast<CORBA::ULong> (_tao_enumerator);
00056 }
00057 
00058 CORBA::Boolean operator>> (TAO_InputCDR & strm, CORBA::ParameterMode & _tao_enumerator)
00059 {
00060   CORBA::ULong _tao_temp = 0;
00061   CORBA::Boolean const _tao_success = strm >> _tao_temp;
00062   
00063   if (_tao_success)
00064     {
00065       _tao_enumerator = static_cast<CORBA::ParameterMode> (_tao_temp);
00066     }
00067   
00068   return _tao_success;
00069 }
00070 
00071 TAO_END_VERSIONED_NAMESPACE_DECL

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