summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-03-20 16:09:18 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-03-20 16:09:18 +0000
commitd4e2d4a61ec598cc564cd6fc38e3fb1e22c077c2 (patch)
treefb5220070b8dcf67777e4344c9cf9f21b3f5faa2 /cpp/src/slice2cpp
parentImrpoved support for using array mapping in async responses and Blobject. (diff)
downloadice-d4e2d4a61ec598cc564cd6fc38e3fb1e22c077c2.tar.bz2
ice-d4e2d4a61ec598cc564cd6fc38e3fb1e22c077c2.tar.xz
ice-d4e2d4a61ec598cc564cd6fc38e3fb1e22c077c2.zip
Added ProxyType and PointerType typedefs
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 2b7ea158304..8a5c5dd5873 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -2474,6 +2474,14 @@ Slice::Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
H << nl << "public:" << sp;
H.inc();
+
+ if(!p->isLocal())
+ {
+ H << nl << "typedef " << name << "Prx ProxyType;";
+ }
+ H << nl << "typedef " << name << "Ptr PointerType;";
+ H << nl;
+
vector<string> params;
vector<string> allTypes;
vector<string> allParamDecls;