|
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 QCString | node2URL (const FTVNodePtr &n, bool overruleFile=FALSE, bool srcLink=FALSE) |
| static QCString | 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 QCString | pathToNode (const FTVNodePtr &leaf, const FTVNodePtr &n) |
| static bool | dupOfParent (const FTVNodePtr &n) |
| static void | generateJSLink (TextStream &t, const FTVNodePtr &n) |
| static QCString | convertFileId2Var (const QCString &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 589 of file ftvhelp.cpp.
|
static |
Definition at line 591 of file ftvhelp.cpp.
References collectJSTreeFiles(), and Config_getString.
Referenced by collectJSTreeFiles(), and generateJSTreeFiles().
|
static |
Definition at line 358 of file ftvhelp.cpp.
References ClassDef::compoundType(), ClassDef::Exception, Definition::getLanguage(), ClassDef::Interface, and ClassDef::Struct.
Referenced by FTVHelp::Private::generateTree().
Definition at line 573 of file ftvhelp.cpp.
References QCString::findRev(), QCString::mid(), and substitute().
Referenced by generateJSTreeFiles().
|
static |
Definition at line 546 of file ftvhelp.cpp.
References FALSE, parent(), and TRUE.
Referenced by generateJSTree(), and generateJSTreeFiles().
|
static |
Definition at line 329 of file ftvhelp.cpp.
References OutputCodeList::add(), Definition::briefDescription(), Definition::briefFile(), Definition::briefLine(), createDocParser(), Definition::getOutputFileBase(), QCString::isEmpty(), relativePathToRoot(), DocNodeAST::root, TRUE, and validatingParseDoc().
Referenced by FTVHelp::Private::generateTree().
|
static |
Definition at line 260 of file ftvhelp.cpp.
References generateIndentLabel(), and parent().
Referenced by FTVHelp::Private::generateTree().
|
static |
Definition at line 248 of file ftvhelp.cpp.
References generateIndentLabel(), parent(), and QCString::setNum().
Referenced by generateIndent(), generateIndentLabel(), and FTVHelp::Private::generateTree().
|
static |
Definition at line 554 of file ftvhelp.cpp.
References Config_getBool, convertToJSString(), externalRef(), node2URL(), stripScope(), and TRUE.
Referenced by generateJSTree().
|
static |
Definition at line 746 of file ftvhelp.cpp.
References Config_getInt, Config_getString, convertToJSString(), FALSE, LayoutNavEntry::find(), generateJSTree(), generateJSTreeFiles(), getProjectId(), Doxygen::htmlFileExtension, LayoutDocManager::instance(), ResourceMgr::instance(), QCString::isEmpty(), JAVASCRIPT_LICENSE_TEXT, Doxygen::mainPage, mainPageHasTitle(), Portable::openOutputStream(), NavIndexEntry::path, LayoutDocManager::rootNavEntry(), QCString::setNum(), substitute(), theTranslator, LayoutNavEntry::title(), TRUE, and NavIndexEntry::url.
Referenced by FTVHelp::generateTreeViewScripts().
|
static |
Definition at line 614 of file ftvhelp.cpp.
References Config_getString, dupOfParent(), FALSE, fileVisibleInIndex(), QCString::fill(), g_navIndexMutex, generateJSLink(), generateJSTree(), node2URL(), pathToNode(), toFileDef(), TRUE, and Definition::TypeFile.
Referenced by generateJSNavTree(), generateJSTree(), and generateJSTreeFiles().
|
static |
Definition at line 695 of file ftvhelp.cpp.
References collectJSTreeFiles(), Config_getInt, Config_getString, convertFileId2Var(), dupOfParent(), generateJSTree(), Portable::openOutputStream(), and ThreadPool::queue().
Referenced by generateJSNavTree().
|
static |
Definition at line 216 of file ftvhelp.cpp.
References addHtmlExtensionIfMissing(), QCString::at(), FALSE, Definition::getOutputFileBase(), Definition::getSourceFileBase(), QCString::isEmpty(), QCString::mid(), toFileDef(), and Definition::TypeFile.
Referenced by generateJSLink(), generateJSTree(), and FTVHelp::Private::generateLink().
|
static |
Definition at line 533 of file ftvhelp.cpp.
References parent(), pathToNode(), and QCString::setNum().
Referenced by generateJSTree(), and pathToNode().
|
static |
Definition at line 43 of file ftvhelp.cpp.
Referenced by FTVHelp::Private::generateTree().
|
static |
Definition at line 612 of file ftvhelp.cpp.
Referenced by generateJSTree().