Doxygen
|
Base class for the layout of a navigation item at the top of the HTML pages. More...
#include <src/layout.h>
Public Types | |
enum | Kind { NAV_SPECIFICATIONS } |
Public Member Functions | |
std::string | navToString () |
LayoutNavEntry (LayoutNavEntry *parent, Kind k, bool vs, const QCString &bf, const QCString &tl, const QCString &intro) | |
LayoutNavEntry * | parent () const |
Kind | kind () const |
QCString | baseFile () const |
QCString | title () const |
QCString | intro () const |
QCString | url () const |
void | setVisible (bool v) |
bool | visible () |
void | clear () |
void | addChild (std::unique_ptr< LayoutNavEntry > &&e) |
void | prependChild (std::unique_ptr< LayoutNavEntry > &&e) |
const LayoutNavEntryList & | children () const |
LayoutNavEntry * | find (LayoutNavEntry::Kind k, const QCString &file=QCString()) const |
Private Member Functions | |
LayoutNavEntry () | |
Private Attributes | |
LayoutNavEntry * | m_parent |
Kind | m_kind |
bool | m_visible |
QCString | m_baseFile |
QCString | m_title |
QCString | m_intro |
LayoutNavEntryList | m_children |
Friends | |
class | LayoutDocManager |
Base class for the layout of a navigation item at the top of the HTML pages.
enum LayoutNavEntry::Kind |
|
inline |
Definition at line 193 of file layout.h.
References intro(), LayoutNavEntry(), m_baseFile, m_intro, m_kind, m_parent, m_title, m_visible, and parent().
Referenced by find(), LayoutNavEntry(), and parent().
|
inlineprivate |
|
inline |
Definition at line 205 of file layout.h.
References m_children.
|
inline |
Definition at line 198 of file layout.h.
References m_baseFile.
Referenced by url(), and writeUserGroupStubPage().
|
inline |
Definition at line 209 of file layout.h.
References m_children.
Referenced by printNavLayout(), LayoutParser::recurseNavEntryChildren(), renderQuickLinksAsJs(), renderQuickLinksAsTabs(), renderQuickLinksAsTree(), writeDefaultQuickLinks(), writeIndexHierarchy(), and writeUserGroupStubPage().
|
inline |
LayoutNavEntry * LayoutNavEntry::find | ( | LayoutNavEntry::Kind | k, |
const QCString & | file = QCString() ) const |
Definition at line 122 of file layout.cpp.
References find(), kind(), LayoutNavEntry(), and m_children.
Referenced by find(), generateJSNavTree(), LayoutParser::startTop(), writeAlphabeticalExceptionIndex(), writeAlphabeticalIndex(), writeAlphabeticalInterfaceIndex(), writeAlphabeticalStructIndex(), writeAnnotatedIndexGeneric(), writeClassMemberIndex(), writeClassMemberIndexFiltered(), writeConceptIndex(), writeDefaultQuickLinks(), writeExampleIndex(), writeFileIndex(), writeFileMemberIndex(), writeFileMemberIndexFiltered(), writeGraphicalClassHierarchy(), writeGraphicalExceptionHierarchy(), writeGraphicalInterfaceHierarchy(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), writeIndex(), writeModuleIndex(), writeModuleMemberIndex(), writeModuleMemberIndexFiltered(), writeNamespaceIndex(), writeNamespaceMemberIndex(), writeNamespaceMemberIndexFiltered(), writePageIndex(), writePages(), and writeTopicIndex().
|
inline |
Definition at line 200 of file layout.h.
References m_intro.
Referenced by LayoutNavEntry(), writeAnnotatedIndexGeneric(), writeClassMemberIndexFiltered(), writeConceptIndex(), writeExampleIndex(), writeFileIndex(), writeFileMemberIndexFiltered(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), writeModuleIndex(), writeModuleMemberIndexFiltered(), writeNamespaceIndex(), writeNamespaceMemberIndexFiltered(), writePageIndex(), and writeTopicIndex().
|
inline |
|
inline |
Definition at line 182 of file layout.h.
References kind(), and NAV_SPECIFICATIONS.
Referenced by printNavLayout().
|
inline |
Definition at line 196 of file layout.h.
References LayoutNavEntry(), and m_parent.
Referenced by LayoutNavEntry(), and renderQuickLinksAsTabs().
|
inline |
|
inline |
|
inline |
Definition at line 199 of file layout.h.
References m_title.
Referenced by generateJSNavTree(), printNavLayout(), writeAlphabeticalExceptionIndex(), writeAlphabeticalIndex(), writeAlphabeticalInterfaceIndex(), writeAlphabeticalStructIndex(), writeAnnotatedIndexGeneric(), writeClassMemberIndex(), writeClassMemberIndexFiltered(), writeConceptIndex(), writeExampleIndex(), writeFileIndex(), writeFileMemberIndex(), writeFileMemberIndexFiltered(), writeGraphicalClassHierarchy(), writeGraphicalExceptionHierarchy(), writeGraphicalInterfaceHierarchy(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), writeModuleIndex(), writeModuleMemberIndex(), writeModuleMemberIndexFiltered(), writeNamespaceIndex(), writeNamespaceMemberIndex(), writeNamespaceMemberIndexFiltered(), writePageIndex(), writeTopicIndex(), and writeUserGroupStubPage().
QCString LayoutNavEntry::url | ( | ) | const |
Definition at line 140 of file layout.cpp.
References addHtmlExtensionIfMissing(), DocRef::anchor(), baseFile(), Config_getString, createDocParser(), createRef(), externalRef(), DocRef::file(), found, QCString::isEmpty(), kind(), msg(), qPrint(), DocRef::ref(), QCString::stripWhiteSpace(), TRUE, and url().
Referenced by url().
|
inline |
Definition at line 203 of file layout.h.
References m_visible.
Referenced by printNavLayout(), LayoutParser::recurseNavEntryChildren(), writeAlphabeticalExceptionIndex(), writeAlphabeticalIndex(), writeAlphabeticalInterfaceIndex(), writeAlphabeticalStructIndex(), writeAnnotatedIndexGeneric(), writeClassMemberIndex(), writeClassMemberIndexFiltered(), writeConceptIndex(), writeExampleIndex(), writeFileIndex(), writeFileMemberIndex(), writeFileMemberIndexFiltered(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), writeModuleIndex(), writeModuleMemberIndex(), writeModuleMemberIndexFiltered(), writeNamespaceIndex(), writeNamespaceMemberIndex(), writeNamespaceMemberIndexFiltered(), writePages(), and writeTopicIndex().
|
friend |
Definition at line 221 of file layout.h.
References LayoutDocManager.
Referenced by LayoutDocManager.
|
private |
Definition at line 217 of file layout.h.
Referenced by baseFile(), and LayoutNavEntry().
|
private |
Definition at line 220 of file layout.h.
Referenced by addChild(), children(), clear(), find(), and prependChild().
|
private |
Definition at line 219 of file layout.h.
Referenced by intro(), and LayoutNavEntry().
|
private |
Definition at line 215 of file layout.h.
Referenced by kind(), LayoutNavEntry(), and LayoutNavEntry().
|
private |
Definition at line 214 of file layout.h.
Referenced by LayoutNavEntry(), LayoutNavEntry(), and parent().
|
private |
Definition at line 218 of file layout.h.
Referenced by LayoutNavEntry(), and title().
|
private |
Definition at line 216 of file layout.h.
Referenced by LayoutNavEntry(), LayoutNavEntry(), setVisible(), and visible().