summaryrefslogtreecommitdiff
path: root/cpp/src/slice2vb/Gen.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-06-08 14:15:20 +0000
committerMark Spruiell <mes@zeroc.com>2006-06-08 14:15:20 +0000
commitf85a964893e985543dd87a1da616a445130761ac (patch)
tree8a8a8a610c8740f8944faa21e00b16e9a1ed88f3 /cpp/src/slice2vb/Gen.cpp
parentFix (diff)
downloadice-f85a964893e985543dd87a1da616a445130761ac.tar.bz2
ice-f85a964893e985543dd87a1da616a445130761ac.tar.xz
ice-f85a964893e985543dd87a1da616a445130761ac.zip
fix for bug 774: simplify use of streaming API in templates
Diffstat (limited to 'cpp/src/slice2vb/Gen.cpp')
-rwxr-xr-xcpp/src/slice2vb/Gen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2vb/Gen.cpp b/cpp/src/slice2vb/Gen.cpp
index 0cdf064e8ed..458dc60b92c 100755
--- a/cpp/src/slice2vb/Gen.cpp
+++ b/cpp/src/slice2vb/Gen.cpp
@@ -2466,14 +2466,14 @@ Slice::Gen::TypesVisitor::visitStructStart(const StructPtr& p)
_out << sp << nl << "Public Shared Sub write(ByVal outS__ As Ice.OutputStream, ByVal v__ As " << name << ')';
_out.inc();
- _out << nl << "v__.write__(outS__)";
+ _out << nl << "v__.ice_write(outS__)";
_out.dec();
_out << nl << "End Sub";
_out << sp << nl << "Public Shared Function read(ByVal inS__ As Ice.InputStream) As " << name;
_out.inc();
_out << nl << "Dim v__ As " << name << " = New " << name;
- _out << nl << "v__.read__(inS__)";
+ _out << nl << "v__.ice_read(inS__)";
_out << nl << "Return v__";
_out.dec();
_out << nl << "End Function";
@@ -2788,7 +2788,7 @@ Slice::Gen::TypesVisitor::visitStructEnd(const StructPtr& p)
if(_stream)
{
- _out << sp << nl << "Public Sub write__(ByVal outS__ As Ice.OutputStream)";
+ _out << sp << nl << "Public Sub ice_write(ByVal outS__ As Ice.OutputStream)";
_out.inc();
for(q = dataMembers.begin(); q != dataMembers.end(); ++q)
{
@@ -2799,7 +2799,7 @@ Slice::Gen::TypesVisitor::visitStructEnd(const StructPtr& p)
_out.dec();
_out << nl << "End Sub";
- _out << sp << nl << "Public Sub read__(ByVal inS__ As Ice.InputStream)";
+ _out << sp << nl << "Public Sub ice_read(ByVal inS__ As Ice.InputStream)";
_out.inc();
classMemberCount = 0;
for(q = dataMembers.begin(); q != dataMembers.end(); ++q)