summaryrefslogtreecommitdiff
path: root/cpp/src/slice2java/Gen.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-04-19 15:38:23 +0000
committerBenoit Foucher <benoit@zeroc.com>2007-04-19 15:38:23 +0000
commit9771b5661fad7d81e9ad0772790999713804f57e (patch)
tree03ca7d84f3326f51ce9c52ee4841f36c99e74fcb /cpp/src/slice2java/Gen.h
parentUpdated WinCE readme (diff)
downloadice-9771b5661fad7d81e9ad0772790999713804f57e.tar.bz2
ice-9771b5661fad7d81e9ad0772790999713804f57e.tar.xz
ice-9771b5661fad7d81e9ad0772790999713804f57e.zip
Fixed bug 2123
Diffstat (limited to 'cpp/src/slice2java/Gen.h')
-rw-r--r--cpp/src/slice2java/Gen.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/cpp/src/slice2java/Gen.h b/cpp/src/slice2java/Gen.h
index 8326dd115e3..9841411efec 100644
--- a/cpp/src/slice2java/Gen.h
+++ b/cpp/src/slice2java/Gen.h
@@ -59,9 +59,9 @@ protected:
const std::list<std::string>& = std::list<std::string>());
//
- // Generate dispatch methods for a class or interface.
+ // Generate dispatch and marshalling methods for a class or interface.
//
- void writeDispatch(::IceUtil::Output&, const ClassDefPtr&);
+ void writeDispatchAndMarshalling(::IceUtil::Output&, const ClassDefPtr&, bool);
};
class Gen : private ::IceUtil::noncopyable
@@ -224,9 +224,13 @@ private:
{
public:
- DispatcherVisitor(const std::string&);
+ DispatcherVisitor(const std::string&, bool);
virtual bool visitClassDefStart(const ClassDefPtr&);
+
+ private:
+
+ bool _stream;
};
class BaseImplVisitor : public JavaVisitor