summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Value.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-12-01 17:36:19 +0100
committerJose <jose@zeroc.com>2015-12-01 17:36:19 +0100
commit2029ff368e49fae489b8ec8fc12f7d126b182dfb (patch)
tree6075d652b7851831c39e6f22004d8720864f1a60 /cpp/src/Ice/Value.cpp
parentThe default LMDB map size for IceGrid and IceStorm is now 10MB (Windows) (diff)
downloadice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.tar.bz2
ice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.tar.xz
ice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.zip
C++11 mapping initial commit
Diffstat (limited to 'cpp/src/Ice/Value.cpp')
-rw-r--r--cpp/src/Ice/Value.cpp69
1 files changed, 69 insertions, 0 deletions
diff --git a/cpp/src/Ice/Value.cpp b/cpp/src/Ice/Value.cpp
new file mode 100644
index 00000000000..b791bd59d3d
--- /dev/null
+++ b/cpp/src/Ice/Value.cpp
@@ -0,0 +1,69 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2015 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/Stream.h>
+#include <Ice/LocalException.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(IceInternal::BasicStream* os) const
+{
+ os->startWriteObject(0);
+ __writeImpl(os);
+ os->endWriteObject();
+}
+
+void
+Ice::Value::__read(IceInternal::BasicStream* is)
+{
+ is->startReadObject();
+ __readImpl(is);
+ is->endReadObject(false);
+}
+
+namespace
+{
+
+const string __Ice__Object_ids[] =
+{
+ "::Ice::Object"
+};
+
+}
+
+const string&
+Ice::Value::ice_id() const
+{
+ return __Ice__Object_ids[0];
+}
+
+
+const string&
+Ice::Value::ice_staticId()
+{
+ return __Ice__Object_ids[0];
+}
+
+#endif