summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-10-06 01:35:43 +0000
committerMichi Henning <michi@zeroc.com>2004-10-06 01:35:43 +0000
commit48522e29f4932093fc4fdc9c0d8c407b8bb48d55 (patch)
tree9bf8fb31d4e7a99ef4f5e5d581f7f63887118889 /cpp/include
parentWin32 fixes (diff)
downloadice-48522e29f4932093fc4fdc9c0d8c407b8bb48d55.tar.bz2
ice-48522e29f4932093fc4fdc9c0d8c407b8bb48d55.tar.xz
ice-48522e29f4932093fc4fdc9c0d8c407b8bb48d55.zip
Fixed problems around escaping of inherited method names.
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/Slice/CsUtil.h2
-rwxr-xr-xcpp/include/Slice/DotNetNames.h34
-rw-r--r--cpp/include/Slice/VbUtil.h2
3 files changed, 36 insertions, 2 deletions
diff --git a/cpp/include/Slice/CsUtil.h b/cpp/include/Slice/CsUtil.h
index 563db12e712..259080b2d20 100644
--- a/cpp/include/Slice/CsUtil.h
+++ b/cpp/include/Slice/CsUtil.h
@@ -28,7 +28,7 @@ public:
static void validateMetaData(const UnitPtr&);
protected:
- static std::string fixId(const std::string&);
+ static std::string fixId(const std::string&, int = 0, bool = false);
static std::string typeToString(const TypePtr&);
static bool isValueType(const TypePtr&);
//
diff --git a/cpp/include/Slice/DotNetNames.h b/cpp/include/Slice/DotNetNames.h
new file mode 100755
index 00000000000..f8a089ecec6
--- /dev/null
+++ b/cpp/include/Slice/DotNetNames.h
@@ -0,0 +1,34 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2004 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.
+//
+// **********************************************************************
+
+#ifndef DOTNETNAMES_H
+#define DOTNETNAMES_H
+
+#include <string>
+
+namespace Slice
+{
+
+namespace DotNet
+{
+
+enum BaseType
+{
+ Object=1, ICloneable=2, Exception=4, ApplicationException=8, END=16
+};
+
+extern const char * manglePrefix;
+
+std::string mangleName(const std::string&, int baseTypes = 0);
+
+}
+
+}
+
+#endif
diff --git a/cpp/include/Slice/VbUtil.h b/cpp/include/Slice/VbUtil.h
index 3b818d8e41b..7ccc9410853 100644
--- a/cpp/include/Slice/VbUtil.h
+++ b/cpp/include/Slice/VbUtil.h
@@ -28,7 +28,7 @@ public:
static void validateMetaData(const UnitPtr&);
protected:
- static std::string fixId(const std::string&);
+ static std::string fixId(const std::string&, int = 0, bool = false);
static std::string typeToString(const TypePtr&);
static bool isValueType(const TypePtr&);
//