From 454f1f9711a6e357bac162c48acd1fda84caafe4 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Fri, 20 Feb 2009 16:20:55 -0800 Subject: bug 3374 & general metadata clean up --- cpp/include/Slice/JavaUtil.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpp/include/Slice/JavaUtil.h') diff --git a/cpp/include/Slice/JavaUtil.h b/cpp/include/Slice/JavaUtil.h index 31cbd963f78..3ede63869e8 100644 --- a/cpp/include/Slice/JavaUtil.h +++ b/cpp/include/Slice/JavaUtil.h @@ -81,6 +81,12 @@ protected: const std::string& = std::string(), const std::string& = std::string()) const; + + // + // Returns the package prefix for a give Slice file. + // + std::string getPackagePrefix(const ContainedPtr&) const; + // // Returns the Java package of a Contained entity. // @@ -197,6 +203,7 @@ private: { public: + virtual bool visitUnitStart(const UnitPtr&); virtual bool visitModuleStart(const ModulePtr&); virtual void visitClassDecl(const ClassDeclPtr&); virtual bool visitClassDefStart(const ClassDefPtr&); @@ -222,6 +229,7 @@ private: std::string _dir; ::IceUtilInternal::Output* _out; + mutable std::map _filePackagePrefix; }; } -- cgit v1.2.3