00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #include "tao/Typecode_typesC.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
00038
00039
00040
00041
00042 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00043
00044
00045 namespace TAO
00046 {
00047 }
00048
00049
00050
00051
00052
00053 CORBA::Boolean operator<< (TAO_OutputCDR & strm, CORBA::TCKind _tao_enumerator)
00054 {
00055 return strm << static_cast<CORBA::ULong> (_tao_enumerator);
00056 }
00057
00058 CORBA::Boolean operator>> (TAO_InputCDR & strm, CORBA::TCKind & _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::TCKind> (_tao_temp);
00066 }
00067
00068 return _tao_success;
00069 }
00070
00071 TAO_END_VERSIONED_NAMESPACE_DECL