diff options
author | Michi Henning <michi@zeroc.com> | 2007-01-04 04:40:01 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-01-04 04:40:01 +0000 |
commit | 7c9cc22c22d9be5491667e16fcea50eab5367fcd (patch) | |
tree | 73b2e4f4864b8551ee49126642a43e43858c3110 /cpp/src/slice2html/Gen.h | |
parent | Fix warnings (diff) | |
download | ice-7c9cc22c22d9be5491667e16fcea50eab5367fcd.tar.bz2 ice-7c9cc22c22d9be5491667e16fcea50eab5367fcd.tar.xz ice-7c9cc22c22d9be5491667e16fcea50eab5367fcd.zip |
Lots of minor slice2html fixes.
Diffstat (limited to 'cpp/src/slice2html/Gen.h')
-rw-r--r-- | cpp/src/slice2html/Gen.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cpp/src/slice2html/Gen.h b/cpp/src/slice2html/Gen.h index 2f459431078..a4a2ad1edbc 100644 --- a/cpp/src/slice2html/Gen.h +++ b/cpp/src/slice2html/Gen.h @@ -16,7 +16,7 @@ namespace Slice { -void generate(const UnitPtr&, const ::std::string&, const ::std::string&, const ::std::string&, unsigned); +void generate(const UnitPtr&, const ::std::string&, const ::std::string&, const ::std::string&, unsigned, unsigned); typedef ::std::set< ::std::string> Files; @@ -27,7 +27,8 @@ public: static void setOutputDir(const ::std::string&); static void setHeader(const ::std::string&); static void setFooter(const ::std::string&); - static void setIndexCount(const int); + static void setIndexCount(int); + static void warnSummary(int); protected: @@ -45,8 +46,8 @@ protected: void printMetaData(const ContainedPtr&); void printSummary(const ContainedPtr&, const ContainerPtr&, bool); - ::std::string toString(const SyntaxTreeBasePtr&, const ContainerPtr&, bool = true, bool = false); - ::std::string toString(const ::std::string&, const ContainerPtr&, bool = true, bool = false); + ::std::string toString(const SyntaxTreeBasePtr&, const ContainerPtr&, bool = true, bool = false, unsigned* = 0); + ::std::string toString(const ::std::string&, const ContainerPtr&, bool = true, bool = false, unsigned* = 0); ::std::string getComment(const ContainedPtr&, const ContainerPtr&, bool, bool = false); static ::std::string getAnchor(const SyntaxTreeBasePtr&); @@ -55,6 +56,7 @@ protected: ::IceUtil::XMLOutput& _out; static unsigned _indexCount; + static unsigned _warnSummary; private: |