diff options
Diffstat (limited to 'trunk/TAO/tao/Typecode_typesC.cpp')
-rw-r--r-- | trunk/TAO/tao/Typecode_typesC.cpp | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/trunk/TAO/tao/Typecode_typesC.cpp b/trunk/TAO/tao/Typecode_typesC.cpp new file mode 100644 index 00000000000..bf8cc72d22a --- /dev/null +++ b/trunk/TAO/tao/Typecode_typesC.cpp @@ -0,0 +1,71 @@ +// -*- C++ -*- +// +// $Id$ + +// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** +// TAO and the TAO IDL Compiler have been developed by: +// Center for Distributed Object Computing +// Washington University +// St. Louis, MO +// USA +// http://www.cs.wustl.edu/~schmidt/doc-center.html +// and +// Distributed Object Computing Laboratory +// University of California at Irvine +// Irvine, CA +// USA +// http://doc.ece.uci.edu/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +// TAO_IDL - Generated from +// be\be_codegen.cpp:291 + + +#include "tao/Typecode_typesC.h" +#include "tao/CDR.h" + +#if defined (__BORLANDC__) +#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig +#endif /* __BORLANDC__ */ + +// TAO_IDL - Generated from +// be\be_visitor_arg_traits.cpp:70 + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +// Arg traits specializations. +namespace TAO +{ +} + + +// TAO_IDL - Generated from +// be\be_visitor_enum/cdr_op_cs.cpp:51 + +CORBA::Boolean operator<< (TAO_OutputCDR & strm, CORBA::TCKind _tao_enumerator) +{ + return strm << static_cast<CORBA::ULong> (_tao_enumerator); +} + +CORBA::Boolean operator>> (TAO_InputCDR & strm, CORBA::TCKind & _tao_enumerator) +{ + CORBA::ULong _tao_temp = 0; + CORBA::Boolean const _tao_success = strm >> _tao_temp; + + if (_tao_success) + { + _tao_enumerator = static_cast<CORBA::TCKind> (_tao_temp); + } + + return _tao_success; +} + +TAO_END_VERSIONED_NAMESPACE_DECL |