diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-07-05 13:35:50 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-07-05 13:35:50 +0000 |
commit | acee32871fc5e348ec944a7882f40a9d86e1bcfc (patch) | |
tree | 09cf5a1632951f1e17f8778f4a97d866dd0cfe94 /cppe/src | |
parent | DLL version compiles again. (diff) | |
download | ice-acee32871fc5e348ec944a7882f40a9d86e1bcfc.tar.bz2 ice-acee32871fc5e348ec944a7882f40a9d86e1bcfc.tar.xz ice-acee32871fc5e348ec944a7882f40a9d86e1bcfc.zip |
added missing file.
Diffstat (limited to 'cppe/src')
-rw-r--r-- | cppe/src/IceE/OperationMode.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/cppe/src/IceE/OperationMode.cpp b/cppe/src/IceE/OperationMode.cpp new file mode 100644 index 00000000000..7bf3d838f4c --- /dev/null +++ b/cppe/src/IceE/OperationMode.cpp @@ -0,0 +1,25 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +// +// This copy of Ice 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 +IceE::__write(::IceEInternal::BasicStream* __os, ::IceE::OperationMode v) +{ + __os->write(static_cast< ::IceE::Byte>(v)); +} + +void +IceE::__read(::IceEInternal::BasicStream* __is, ::IceE::OperationMode& v) +{ + ::IceE::Byte val; + __is->read(val); + v = static_cast< ::IceE::OperationMode>(val); +} |