blob: f4a709f1515e19f7151213aa3d61a060d500f13f (
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
|
// **********************************************************************
//
// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
//
// This copy of Ice-E is licensed to you under the terms described in the
// ICEE_LICENSE file included in this distribution.
//
// **********************************************************************
#include <IceE/OperationMode.h>
#include <IceE/BasicStream.h>
void
Ice::__write(::IceInternal::BasicStream* __os, ::Ice::OperationMode v)
{
__os->write(static_cast< ::Ice::Byte>(v));
}
void
Ice::__read(::IceInternal::BasicStream* __is, ::Ice::OperationMode& v)
{
::Ice::Byte val;
__is->read(val);
v = static_cast< ::Ice::OperationMode>(val);
}
|