blob: bdf3eb44645e426cbeb5aec1a2044999fba84d29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// $Id$
#include "tao/ParameterMode.h"
#include "tao/CDR.h"
ACE_RCSID (tao,
ParameterMode,
"$Id$")
CORBA::Boolean
operator<< (TAO_OutputCDR &strm, const CORBA::ParameterMode &_tao_enumval)
{
CORBA::ULong _tao_temp = _tao_enumval;
return strm << _tao_temp;
}
CORBA::Boolean
operator>> (TAO_InputCDR &strm, CORBA::ParameterMode &_tao_enumval)
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
if (_tao_result == 1)
{
_tao_enumval = static_cast<CORBA::ParameterMode> (_tao_temp);
}
return _tao_result;
}
|