|
Doxygen
|
#include <stdio.h>#include <stdlib.h>#include <algorithm>#include "ftvhelp.h"#include "config.h"#include "message.h"#include "doxygen.h"#include "language.h"#include "htmlgen.h"#include "layout.h"#include "pagedef.h"#include "docparser.h"#include "htmldocvisitor.h"#include "filedef.h"#include "classdef.h"#include "util.h"#include "resourcemgr.h"#include "portable.h"#include "outputlist.h"#include "threadpool.h"Go to the source code of this file.
Classes | |
| struct | FTVNode |
| struct | FTVHelp::Private |
| struct | NavIndexEntry |
| class | NavIndexEntryList |
| struct | JSTreeFile |
Typedefs | |
| using | FTVNodePtr = std::shared_ptr<FTVNode> |
| using | FTVNodeWeakPtr = std::weak_ptr<FTVNode> |
| using | FTVNodes = std::vector<FTVNodePtr> |
| using | JSTreeFiles = std::vector<JSTreeFile> |
Functions | |
| static DString | node2URL (const FTVNodePtr &n, bool overruleFile=false, bool srcLink=false) |
| static DString | generateIndentLabel (const FTVNodePtr &n, int level) |
| static void | generateIndent (TextStream &t, const FTVNodePtr &n, bool opened) |
| static void | generateBriefDoc (TextStream &t, const Definition *def) |
| static char | compoundIcon (const ClassDef *cd) |
| static DString | pathToNode (const FTVNodePtr &leaf, const FTVNodePtr &n) |
| static bool | dupOfParent (const FTVNodePtr &n) |
| static void | generateJSLink (TextStream &t, const FTVNodePtr &n) |
| static DString | convertFileId2Var (const DString &fileId) |
| static void | collectJSTreeFiles (const FTVNodes &nl, JSTreeFiles &files) |
| static bool | generateJSTree (NavIndexEntryList &navIndex, TextStream &t, const FTVNodes &nl, int level, bool &first) |
| static void | generateJSTreeFiles (NavIndexEntryList &navIndex, TextStream &t, const FTVNodes &nodeList) |
| static void | generateJSNavTree (const FTVNodes &nodeList) |
Variables | |
| static int | folderId =1 |
| static std::mutex | g_navIndexMutex |
| using FTVNodePtr = std::shared_ptr<FTVNode> |
Definition at line 47 of file ftvhelp.cpp.
| using FTVNodes = std::vector<FTVNodePtr> |
Definition at line 49 of file ftvhelp.cpp.
| using FTVNodeWeakPtr = std::weak_ptr<FTVNode> |
Definition at line 48 of file ftvhelp.cpp.
| using JSTreeFiles = std::vector<JSTreeFile> |
Definition at line 591 of file ftvhelp.cpp.
|
static |
Definition at line 593 of file ftvhelp.cpp.
References collectJSTreeFiles(), and Config_getString.
Referenced by collectJSTreeFiles(), and generateJSTreeFiles().
|
static |
Definition at line 357 of file ftvhelp.cpp.
References compoundIcon(), ClassDef::compoundType(), ClassDef::Exception, Definition::getLanguage(), ClassDef::Interface, and ClassDef::Struct.
Referenced by compoundIcon(), and FTVHelp::Private::generateTree().
Definition at line 573 of file ftvhelp.cpp.
References convertFileId2Var(), DString::mid(), DString::npos, DString::prepend(), DString::rfind(), and substitute().
Referenced by convertFileId2Var(), and generateJSTreeFiles().
|
static |
Definition at line 547 of file ftvhelp.cpp.
References dupOfParent(), and parent().
Referenced by dupOfParent(), generateJSTree(), and generateJSTreeFiles().
|
static |
Definition at line 328 of file ftvhelp.cpp.
References OutputCodeList::add(), Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), createDocParser(), DString::empty(), generateBriefDoc(), Definition::getOutputFileBase(), relativePathToRoot(), DocNodeAST::root, and validatingParseDoc().
Referenced by generateBriefDoc(), and FTVHelp::Private::generateTree().
|
static |
Definition at line 260 of file ftvhelp.cpp.
References Config_getBool, generateIndent(), generateIndentLabel(), and parent().
Referenced by generateIndent(), and FTVHelp::Private::generateTree().
|
static |
Definition at line 248 of file ftvhelp.cpp.
References DString::DString(), generateIndentLabel(), parent(), and DString::setNum().
Referenced by generateIndent(), generateIndentLabel(), and FTVHelp::Private::generateTree().
|
static |
Definition at line 555 of file ftvhelp.cpp.
References convertToJSString(), externalRef(), generateJSLink(), node2URL(), and substitute().
Referenced by generateJSLink(), and generateJSTree().
|
static |
Definition at line 748 of file ftvhelp.cpp.
References Config_getInt, Config_getString, convertToJSString(), DString::DString(), DString::empty(), LayoutNavEntry::find(), generateJSNavTree(), generateJSTree(), generateJSTreeFiles(), getProjectId(), Doxygen::htmlFileExtension, LayoutDocManager::instance(), ResourceMgr::instance(), JAVASCRIPT_LICENSE_TEXT, Doxygen::mainPage, mainPageHasTitle(), Portable::openOutputStream(), NavIndexEntry::path, LayoutDocManager::rootNavEntry(), DString::setNum(), substitute(), theTranslator, LayoutNavEntry::title(), Translator::trListOfAllMembers(), Translator::trPanelSynchronisationTooltip(), and NavIndexEntry::url.
Referenced by generateJSNavTree(), and FTVHelp::generateTreeViewScripts().
|
static |
Definition at line 616 of file ftvhelp.cpp.
References Config_getString, dupOfParent(), fileVisibleInIndex(), DString::fill(), g_navIndexMutex, generateJSLink(), generateJSTree(), node2URL(), pathToNode(), toFileDef(), and Definition::TypeFile.
Referenced by generateJSNavTree(), generateJSTree(), and generateJSTreeFiles().
|
static |
Definition at line 697 of file ftvhelp.cpp.
References collectJSTreeFiles(), Config_getInt, Config_getString, convertFileId2Var(), dupOfParent(), generateJSTree(), generateJSTreeFiles(), Portable::openOutputStream(), and ThreadPool::queue().
Referenced by generateJSNavTree(), and generateJSTreeFiles().
|
static |
Definition at line 216 of file ftvhelp.cpp.
References addHtmlExtensionIfMissing(), DString::at(), DString::empty(), Definition::getOutputFileBase(), Definition::getSourceFileBase(), DString::mid(), node2URL(), toFileDef(), and Definition::TypeFile.
Referenced by generateJSLink(), generateJSTree(), FTVHelp::Private::generateLink(), and node2URL().
|
static |
Definition at line 534 of file ftvhelp.cpp.
References DString::DString(), parent(), pathToNode(), and DString::setNum().
Referenced by generateJSTree(), and pathToNode().
|
static |
Definition at line 43 of file ftvhelp.cpp.
Referenced by FTVHelp::Private::generateTree().
|
static |
Definition at line 614 of file ftvhelp.cpp.
Referenced by generateJSTree().