diff options
Diffstat (limited to 'cpp/src/Ice/Value.cpp')
-rw-r--r-- | cpp/src/Ice/Value.cpp | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/cpp/src/Ice/Value.cpp b/cpp/src/Ice/Value.cpp new file mode 100644 index 00000000000..f5a7f6b1bbf --- /dev/null +++ b/cpp/src/Ice/Value.cpp @@ -0,0 +1,75 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#include <Ice/Value.h> +#include <Ice/LocalException.h> +#include <Ice/OutputStream.h> +#include <Ice/InputStream.h> + +#ifdef ICE_CPP11_MAPPING + +using namespace std; +using namespace Ice; +using namespace IceInternal; + +void +Ice::Value::ice_preMarshal() +{ +} + +void +Ice::Value::ice_postUnmarshal() +{ +} + +void +Ice::Value::__write(Ice::OutputStream* os) const +{ + os->startValue(0); + __writeImpl(os); + os->endValue(); +} + +void +Ice::Value::__read(Ice::InputStream* is) +{ + is->startValue(); + __readImpl(is); + is->endValue(false); +} + +namespace +{ + +const string __Ice__Object_ids[] = +{ + "::Ice::Object" +}; + +} + +string +Ice::Value::ice_id() const +{ + return __Ice__Object_ids[0]; +} + +const string& +Ice::Value::ice_staticId() +{ + return __Ice__Object_ids[0]; +} + +ValuePtr +Ice::Value::ice_clone() const +{ + return cloneImpl(); +} + +#endif |