diff options
author | Mark Spruiell <mes@zeroc.com> | 2016-01-19 16:46:11 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2016-01-19 16:46:11 -0800 |
commit | d5dd7c866e9e1dc59dc7e127eb39f641530bf823 (patch) | |
tree | 61771e4f322a7138b643d5325a6d10acea30fb84 /cpp/include/Ice/InterfaceByValue.h | |
parent | Deprecate ice_name and add ice_id (diff) | |
download | ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.tar.bz2 ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.tar.xz ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.zip |
ICE-6861 - removing public stream API
Diffstat (limited to 'cpp/include/Ice/InterfaceByValue.h')
-rw-r--r-- | cpp/include/Ice/InterfaceByValue.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/cpp/include/Ice/InterfaceByValue.h b/cpp/include/Ice/InterfaceByValue.h index c2be72d3eb9..c32227a14d4 100644 --- a/cpp/include/Ice/InterfaceByValue.h +++ b/cpp/include/Ice/InterfaceByValue.h @@ -11,7 +11,8 @@ #define ICE_INTERFACE_BY_VALUE_H #include <Ice/Value.h> -#include <Ice/BasicStream.h> +#include <Ice/OutputStream.h> +#include <Ice/InputStream.h> #ifdef ICE_CPP11_MAPPING @@ -24,17 +25,17 @@ class InterfaceByValue : public Ice::ValueHelper<Ice::InterfaceByValue<T>, Ice:: public: virtual void - __writeImpl(::IceInternal::BasicStream* __os) const + __writeImpl(::Ice::OutputStream* __os) const { - __os->startWriteSlice(T::ice_staticId(), -1, true); - __os->endWriteSlice(); + __os->startSlice(T::ice_staticId(), -1, true); + __os->endSlice(); } virtual void - __readImpl(::IceInternal::BasicStream* __is) + __readImpl(::Ice::InputStream* __is) { - __is->startReadSlice(); - __is->endReadSlice(); + __is->startSlice(); + __is->endSlice(); } virtual const std::string& ice_id() const |