|
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 | 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 |
|
inline |
|
inline |
Definition at line 219 of file layout.h.
References m_children.
Referenced by findNavEntryRec(), mergeNavTreeNodesRec(), printNavLayout(), renderQuickLinksAsTabs(), renderQuickLinksAsTree(), and writeDefaultQuickLinks().
| 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(), writeDefaultQuickLinks(), writeExampleIndex(), writeFileIndex(), writeGraphicalClassHierarchy(), writeGraphicalExceptionHierarchy(), writeGraphicalInterfaceHierarchy(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), and writeNamespaceIndex().
|
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(), writeFileIndex(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), and writeNamespaceIndex().
|
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 227 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(), writeExampleIndex(), writeFileIndex(), writeGraphicalClassHierarchy(), writeGraphicalExceptionHierarchy(), writeGraphicalInterfaceHierarchy(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), and writeNamespaceIndex().
| 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(), 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(), writeExampleIndex(), writeFileIndex(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), and writeNamespaceIndex().
|
friend |
Definition at line 252 of file layout.h.
References LayoutDocManager.
Referenced by LayoutDocManager.
|
private |
Definition at line 248 of file layout.h.
Referenced by baseFile(), id(), LayoutNavEntry(), and swap().
|
private |
Definition at line 251 of file layout.h.
Referenced by appendChild(), children(), children(), find(), insertChild(), and swap().
|
private |
Definition at line 250 of file layout.h.
Referenced by intro(), LayoutNavEntry(), and swap().
|
private |
Definition at line 246 of file layout.h.
Referenced by kind(), LayoutNavEntry(), LayoutNavEntry(), and swap().
|
private |
Definition at line 245 of file layout.h.
Referenced by LayoutNavEntry(), LayoutNavEntry(), parent(), and swap().
|
private |
Definition at line 249 of file layout.h.
Referenced by LayoutNavEntry(), swap(), and title().
|
private |
Definition at line 247 of file layout.h.
Referenced by LayoutNavEntry(), LayoutNavEntry(), setVisible(), swap(), updateVisibility(), and visible().