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 () const |
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 |
std::string | id () const |
QCString | title () const |
QCString | intro () const |
QCString | url () const |
const LayoutNavEntryList & | children () const |
LayoutNavEntryList & | children () |
void | setVisible (bool v) |
bool | visible () const |
void | clear () |
void | insertChild (size_t pos, std::unique_ptr< LayoutNavEntry > &&e) |
void | appendChild (std::unique_ptr< LayoutNavEntry > &&e) |
void | updateVisibility (LayoutNavEntry *parent) |
LayoutNavEntry * | find (LayoutNavEntry::Kind k, const QCString &file=QCString()) const |
void | swap (LayoutNavEntry &other) |
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 209 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(), parent(), swap(), and updateVisibility().
|
inlineprivate |
void LayoutNavEntry::appendChild | ( | std::unique_ptr< LayoutNavEntry > && | e | ) |
Definition at line 121 of file layout.cpp.
References m_children.
|
inline |
Definition at line 214 of file layout.h.
References m_baseFile.
Referenced by url(), and writeUserGroupStubPage().
|
inline |
|
inline |
Definition at line 219 of file layout.h.
References m_children.
Referenced by findNavEntryRec(), mergeNavTreeNodesRec(), printNavLayout(), renderQuickLinksAsJs(), renderQuickLinksAsTabs(), renderQuickLinksAsTree(), writeDefaultQuickLinks(), writeIndexHierarchy(), and writeUserGroupStubPage().
|
inline |
LayoutNavEntry * LayoutNavEntry::find | ( | LayoutNavEntry::Kind | k, |
const QCString & | file = QCString() ) const |
Definition at line 133 of file layout.cpp.
References find(), kind(), LayoutNavEntry(), and m_children.
Referenced by find(), generateJSNavTree(), 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 215 of file layout.h.
References m_baseFile, and navToString().
Referenced by findNavEntryRec(), and mergeNavTreeNodesRec().
void LayoutNavEntry::insertChild | ( | size_t | pos, |
std::unique_ptr< LayoutNavEntry > && | e ) |
Definition at line 127 of file layout.cpp.
References m_children.
Referenced by mergeNavTreeNodesRec().
|
inline |
Definition at line 217 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 198 of file layout.h.
References kind(), and NAV_SPECIFICATIONS.
Referenced by id(), and printNavLayout().
|
inline |
Definition at line 212 of file layout.h.
References LayoutNavEntry(), and m_parent.
Referenced by LayoutNavEntry(), renderQuickLinksAsTabs(), and updateVisibility().
|
inline |
|
inline |
Definition at line 228 of file layout.h.
References LayoutNavEntry(), m_baseFile, m_children, m_intro, m_kind, m_parent, m_title, and m_visible.
|
inline |
Definition at line 216 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().
void LayoutNavEntry::updateVisibility | ( | LayoutNavEntry * | parent | ) |
Definition at line 116 of file layout.cpp.
References LayoutNavEntry(), m_visible, and parent().
QCString LayoutNavEntry::url | ( | ) | const |
Definition at line 151 of file layout.cpp.
References addHtmlExtensionIfMissing(), DocRef::anchor(), baseFile(), Config_getString, createDocParser(), createRef(), externalRef(), DocRef::file(), found, QCString::isEmpty(), kind(), msg, DocRef::ref(), QCString::stripWhiteSpace(), TRUE, and url().
Referenced by url().
|
inline |
Definition at line 222 of file layout.h.
References m_visible.
Referenced by printNavLayout(), 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 253 of file layout.h.
References LayoutDocManager.
Referenced by LayoutDocManager.
|
private |
Definition at line 249 of file layout.h.
Referenced by baseFile(), id(), LayoutNavEntry(), and swap().
|
private |
Definition at line 252 of file layout.h.
Referenced by appendChild(), children(), children(), clear(), find(), insertChild(), and swap().
|
private |
Definition at line 251 of file layout.h.
Referenced by intro(), LayoutNavEntry(), and swap().
|
private |
Definition at line 247 of file layout.h.
Referenced by kind(), LayoutNavEntry(), LayoutNavEntry(), and swap().
|
private |
Definition at line 246 of file layout.h.
Referenced by LayoutNavEntry(), LayoutNavEntry(), parent(), and swap().
|
private |
Definition at line 250 of file layout.h.
Referenced by LayoutNavEntry(), swap(), and title().
|
private |
Definition at line 248 of file layout.h.
Referenced by LayoutNavEntry(), LayoutNavEntry(), setVisible(), swap(), updateVisibility(), and visible().