Typecode_typesC.cpp File Reference

#include "tao/Typecode_typesC.h"
#include "tao/CDR.h"

Include dependency graph for Typecode_typesC.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  TAO

Functions

CORBA::Boolean operator<< (TAO_OutputCDR &strm, CORBA::TCKind _tao_enumerator)
CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::TCKind &_tao_enumerator)


Function Documentation

CORBA::Boolean operator<< TAO_OutputCDR strm,
CORBA::TCKind  _tao_enumerator
 

Definition at line 53 of file Typecode_typesC.cpp.

00054 {
00055   return strm << static_cast<CORBA::ULong> (_tao_enumerator);
00056 }

CORBA::Boolean operator>> TAO_InputCDR strm,
CORBA::TCKind _tao_enumerator
 

Definition at line 58 of file Typecode_typesC.cpp.

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 }


Generated on Thu Nov 9 12:09:27 2006 for TAO by doxygen 1.3.6