|
My Project
|
#include <ftvhelp.h>
Public Member Functions | |
| FTVHelp (bool LTI) | |
| ~FTVHelp () | |
| void | initialize () |
| void | finalize () |
| void | incContentsDepth () |
| void | decContentsDepth () |
| void | addContentsItem (bool isDir, const char *name, const char *ref, const char *file, const char *anchor, bool separateIndex, bool addToNavIndex, Definition *def) |
| void | addIndexItem (Definition *, MemberDef *, const char *, const char *) |
| void | addIndexFile (const char *) |
| void | addImageFile (const char *) |
| void | addStyleSheetFile (const char *) |
| void | generateTreeView () |
| void | generateTreeViewInline (FTextStream &t) |
| void | generateTreeViewScripts () |
Public Member Functions inherited from IndexIntf | |
| virtual | ~IndexIntf () |
Static Public Member Functions | |
| static void | generateTreeViewImages () |
Private Member Functions | |
| void | generateTree (FTextStream &t, const QList< FTVNode > &nl, int level, int maxLevel, int &index) |
| QCString | generateIndentLabel (FTVNode *n, int level) |
| void | generateIndent (FTextStream &t, FTVNode *n, bool opened) |
| void | generateLink (FTextStream &t, FTVNode *n) |
Private Attributes | |
| QList< FTVNode > * | m_indentNodes |
| int | m_indent |
| bool | m_topLevelIndex |
| FTVHelp::FTVHelp | ( | bool | TLI | ) |
Constructs an ftv help object. The object has to be initialized before it can be used.
Definition at line 106 of file ftvhelp.cpp.
References m_indent, m_indentNodes, m_topLevelIndex, and MAX_INDENT.
| FTVHelp::~FTVHelp | ( | ) |
|
virtual |
Add a list item to the contents file.
| isDir | TRUE if the item is a directory, FALSE if it is a text |
| name | The name of the item. |
| ref | the URL of to the item. |
| file | the file containing the definition of the item |
| anchor | the anchor within the file. |
| name | the name of the item. |
| separateIndex | put the entries in a separate index file |
| addToNavIndex | add this entry to the quick navigation index |
| def | Definition corresponding to this entry |
Implements IndexIntf.
Definition at line 183 of file ftvhelp.cpp.
References FTVNode::index, m_indent, m_indentNodes, and FTVNode::parent.
Referenced by writeClassTree(), writeClassTreeForList(), writeDirHierarchy(), writeDirTreeNode(), writeGroupTreeNode(), writeNamespaceTree(), and writePages().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Decrease the level of the contents hierarchy. This will end the current sublist.
Implements IndexIntf.
Definition at line 152 of file ftvhelp.cpp.
References FTVNode::children, m_indent, and m_indentNodes.
Referenced by writeClassTree(), writeDirTreeNode(), writeGroupTreeNode(), writeNamespaceTree(), and writePages().
|
virtual |
Finalizes the FTV help. This will finish and close the contents file (index.js).
Implements IndexIntf.
Definition at line 132 of file ftvhelp.cpp.
References generateTreeView().
|
private |
Definition at line 253 of file ftvhelp.cpp.
References generateIndentLabel(), FTVNode::isDir, and FTVNode::parent.
Referenced by generateTree().
|
private |
Definition at line 242 of file ftvhelp.cpp.
References FTVNode::index, and FTVNode::parent.
Referenced by generateIndent(), and generateTree().
|
private |
Definition at line 273 of file ftvhelp.cpp.
References convertToHtml(), externalLinkTarget(), externalRef(), FTVNode::file, m_topLevelIndex, FTVNode::name, node2URL(), and FTVNode::ref.
Referenced by generateTree().
|
private |
Definition at line 325 of file ftvhelp.cpp.
References FTVNode::children, FTVNode::def, DefinitionIntf::definitionType(), endl(), folderId, generateBriefDoc(), generateIndent(), generateIndentLabel(), generateLink(), FileDef::getSourceFileBase(), Doxygen::htmlFileExtension, FTVNode::isDir, DefinitionIntf::TypeClass, DefinitionIntf::TypeFile, DefinitionIntf::TypeGroup, DefinitionIntf::TypeNamespace, and DefinitionIntf::TypePage.
Referenced by generateTreeViewInline().
| void FTVHelp::generateTreeView | ( | ) |
Definition at line 777 of file ftvhelp.cpp.
References generateTreeViewImages(), and generateTreeViewScripts().
Referenced by finalize().
|
static |
Definition at line 690 of file ftvhelp.cpp.
References Config_getString, ResourceMgr::copyResource(), and ResourceMgr::instance().
Referenced by generateOutput(), and generateTreeView().
| void FTVHelp::generateTreeViewInline | ( | FTextStream & | t | ) |
Definition at line 714 of file ftvhelp.cpp.
References FTVNode::children, FTVNode::computeTreeDepth(), Config_getInt, generateTree(), m_indentNodes, FTVNode::numNodesAtLevel(), theTranslator, and Translator::trDetailLevel().
Referenced by writeAnnotatedIndex(), writeFileIndex(), writeGroupIndex(), writeHierarchicalIndex(), writeNamespaceIndex(), and writePageIndex().
| void FTVHelp::generateTreeViewScripts | ( | ) |
Definition at line 701 of file ftvhelp.cpp.
References Config_getString, ResourceMgr::copyResource(), generateJSNavTree(), ResourceMgr::instance(), and m_indentNodes.
Referenced by generateTreeView().
|
virtual |
Increase the level of the contents hierarchy. This will start a new sublist in contents file.
Implements IndexIntf.
Definition at line 141 of file ftvhelp.cpp.
References m_indent, and MAX_INDENT.
Referenced by writeClassTree(), writeDirTreeNode(), writeGroupTreeNode(), writeNamespaceTree(), and writePages().
|
virtual |
This will create a folder tree view table of contents file (tree.js).
Implements IndexIntf.
Definition at line 124 of file ftvhelp.cpp.
|
private |
Definition at line 71 of file ftvhelp.h.
Referenced by addContentsItem(), decContentsDepth(), FTVHelp(), and incContentsDepth().
|
private |
Definition at line 70 of file ftvhelp.h.
Referenced by addContentsItem(), decContentsDepth(), FTVHelp(), generateTreeViewInline(), generateTreeViewScripts(), and ~FTVHelp().
|
private |
Definition at line 72 of file ftvhelp.h.
Referenced by FTVHelp(), and generateLink().