diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-01-16 21:44:26 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-01-16 21:44:26 +0000 |
commit | 52fd2d7acdc0a6ae1fd8feb54b98fe75b80d769e (patch) | |
tree | aeaa25733f939144ef231b57a034477dc193f5f0 /cpp/src/slice2java/Gen.h | |
parent | updates for slice2xsd. (diff) | |
download | ice-52fd2d7acdc0a6ae1fd8feb54b98fe75b80d769e.tar.bz2 ice-52fd2d7acdc0a6ae1fd8feb54b98fe75b80d769e.tar.xz ice-52fd2d7acdc0a6ae1fd8feb54b98fe75b80d769e.zip |
adding --impl option
Diffstat (limited to 'cpp/src/slice2java/Gen.h')
-rw-r--r-- | cpp/src/slice2java/Gen.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/src/slice2java/Gen.h b/cpp/src/slice2java/Gen.h index 2885b65e7d8..0e0f60417a2 100644 --- a/cpp/src/slice2java/Gen.h +++ b/cpp/src/slice2java/Gen.h @@ -123,6 +123,7 @@ public: bool operator!() const; // Returns true if there was a constructor error void generate(const UnitPtr&); + void generateImpl(const UnitPtr&); private: @@ -213,6 +214,21 @@ private: virtual bool visitClassDefStart(const ClassDefPtr&); }; + + class ImplVisitor : public JavaVisitor + { + // + // Generate code to assign a value + // + void writeAssign(Output&, const std::string&, const TypePtr&, + const std::string&, int&); + + public: + + ImplVisitor(const std::string&, const std::string&); + + virtual bool visitClassDefStart(const ClassDefPtr&); + }; }; } |