The ftvhelp.cpp
File Reference
Included Headers
Classes Index
struct | FTVNode |
struct | Private |
struct | NavIndexEntry |
class | NavIndexEntryList |
struct | JSTreeFile |
Typedefs Index
using | FTVNodePtr = std::shared_ptr< FTVNode > |
using | FTVNodeWeakPtr = std::weak_ptr< FTVNode > |
using | FTVNodes = std::vector< FTVNodePtr > |
using | JSTreeFiles = std::vector< JSTreeFile > |
Functions Index
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 Index
static int | folderId =1 |
static std::mutex | g_navIndexMutex |
Typedefs
FTVNodePtr
|
Definition at line 47 of file ftvhelp.cpp.
FTVNodes
|
Definition at line 49 of file ftvhelp.cpp.
FTVNodeWeakPtr
|
Definition at line 48 of file ftvhelp.cpp.
JSTreeFiles
|
Definition at line 583 of file ftvhelp.cpp.
Functions
collectJSTreeFiles()
| static |
Definition at line 585 of file ftvhelp.cpp.
References collectJSTreeFiles and Config_getString.
Referenced by collectJSTreeFiles and generateJSTreeFiles.
compoundIcon()
| static |
Definition at line 352 of file ftvhelp.cpp.
References ClassDef::compoundType, ClassDef::Exception, Definition::getLanguage, ClassDef::Interface and ClassDef::Struct.
Referenced by FTVHelp::Private::generateTree.
convertFileId2Var()
| static |
Definition at line 567 of file ftvhelp.cpp.
References QCString::findRev, QCString::mid and substitute.
Referenced by generateJSTreeFiles.
dupOfParent()
| static |
Definition at line 540 of file ftvhelp.cpp.
References FALSE, parent and TRUE.
Referenced by generateJSTree and generateJSTreeFiles.
generateBriefDoc()
| static |
Definition at line 329 of file ftvhelp.cpp.
References OutputCodeList::add, Definition::briefDescription, Definition::briefFile, Definition::briefLine, createDocParser, FALSE, Definition::getOutputFileBase, QCString::isEmpty, relativePathToRoot, DocNodeAST::root, TRUE and validatingParseDoc.
Referenced by FTVHelp::Private::generateTree.
generateIndent()
| static |
Definition at line 260 of file ftvhelp.cpp.
References generateIndentLabel and parent.
Referenced by FTVHelp::Private::generateTree.
generateIndentLabel()
| static |
Definition at line 248 of file ftvhelp.cpp.
References generateIndentLabel, parent and QCString::setNum.
Referenced by generateIndent, generateIndentLabel and FTVHelp::Private::generateTree.
generateJSLink()
| static |
Definition at line 548 of file ftvhelp.cpp.
References Config_getBool, convertToJSString, externalRef, node2URL, stripScope and TRUE.
Referenced by generateJSTree.
generateJSNavTree()
| static |
Definition at line 740 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.
generateJSTree()
| static |
Definition at line 608 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.
generateJSTreeFiles()
| static |
Definition at line 689 of file ftvhelp.cpp.
References collectJSTreeFiles, Config_getInt, Config_getString, convertFileId2Var, dupOfParent, generateJSTree, Portable::openOutputStream and ThreadPool::queue.
Referenced by generateJSNavTree.
node2URL()
| 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.
pathToNode()
| static |
Definition at line 527 of file ftvhelp.cpp.
References parent, pathToNode and QCString::setNum.
Referenced by generateJSTree and pathToNode.
Variables
folderId
| static |
Definition at line 43 of file ftvhelp.cpp.
Referenced by FTVHelp::Private::generateTree.
g_navIndexMutex
| static |
Definition at line 606 of file ftvhelp.cpp.
Referenced by generateJSTree.
Generated via doxygen2docusaurus by Doxygen 1.14.0.