diff options
Diffstat (limited to 'cpp/src/slice2docbook/Gen.h')
-rw-r--r-- | cpp/src/slice2docbook/Gen.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/cpp/src/slice2docbook/Gen.h b/cpp/src/slice2docbook/Gen.h deleted file mode 100644 index 97cbe3e1274..00000000000 --- a/cpp/src/slice2docbook/Gen.h +++ /dev/null @@ -1,68 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef GEN_H -#define GEN_H - -#include <Slice/Parser.h> -#include <IceUtil/OutputUtil.h> -#include <stack> - -namespace Slice -{ - -class Gen : private ::IceUtil::noncopyable, public ParserVisitor -{ -public: - - Gen(const std::string&, bool, bool, bool, bool); - virtual ~Gen(); - - void generate(const UnitPtr&); - void closeOutput(); - - virtual bool visitUnitStart(const UnitPtr&); - virtual void visitUnitEnd(const UnitPtr&); - virtual bool visitModuleStart(const ModulePtr&); - virtual void visitContainer(const ContainerPtr&); - virtual bool visitClassDefStart(const ClassDefPtr&); - virtual bool visitExceptionStart(const ExceptionPtr&); - virtual bool visitStructStart(const StructPtr&); - virtual void visitEnum(const EnumPtr&); - virtual void visitConst(const ConstPtr&); - -private: - - void printHeader(); - std::string getComment(const ContainedPtr&, const ContainerPtr&, bool); - StringList getTagged(const std::string&, std::string&); - void printMetaData(const ContainedPtr&); - void printComment(const ContainedPtr&, const std::string&); - void printSummary(const ContainedPtr&, bool); - void start(const std::string&); - void start(const std::string&, const std::string&, bool = true); - void end(); - - std::string containedToId(const ContainedPtr&); - std::string getScopedMinimized(const ContainedPtr&, const ContainerPtr&); - std::string toString(const SyntaxTreeBasePtr&, const ContainerPtr&, bool = true); - std::string toString(const std::string&, const ContainerPtr&, bool = true); - - ::IceUtilInternal::XMLOutput O; - - bool _standAlone; - bool _noGlobals; - std::string _chapter; - bool _noIndex; - bool _sortFields; -}; - -} - -#endif |