Doxygen
|
Singleton providing access to the (user configurable) layout of the documentation. More...
#include <src/layout.h>
Classes | |
class | Private |
Public Types | |
enum | LayoutPart { PART_SPECIFICATIONS } |
Public Member Functions | |
const LayoutDocEntryList & | docEntries (LayoutPart part) const |
Returns the list of LayoutDocEntry's in representation order for a given page identified by part. | |
LayoutNavEntry * | rootNavEntry () const |
returns the (invisible) root of the navigation tree. | |
LayoutNavEntry * | createChildNavEntry (LayoutNavEntry *root, LayoutNavEntry::Kind k, bool vs, const QCString &bf, const QCString &tl, const QCString &intro) |
void | parse (const QCString &fileName, const char *data=nullptr) |
Parses a user provided layout. | |
void | init () |
Static Public Member Functions | |
static LayoutDocManager & | instance () |
Returns a reference to this singleton. | |
static std::string | partToString (int k) |
Private Member Functions | |
void | addEntry (LayoutPart p, LayoutDocEntryPtr &&e) |
void | clear (LayoutPart p) |
LayoutDocManager () | |
~LayoutDocManager () | |
Private Attributes | |
std::unique_ptr< Private > | d |
Friends | |
class | LayoutParser |
Singleton providing access to the (user configurable) layout of the documentation.
|
private |
Definition at line 1398 of file layout.cpp.
References d.
Referenced by instance().
|
private |
Definition at line 1402 of file layout.cpp.
|
private |
Definition at line 1449 of file layout.cpp.
References d.
Referenced by LayoutParser::endMemberDecl(), LayoutParser::endMemberDef(), LayoutParser::startMemberDecl(), LayoutParser::startMemberDeclEntry(), LayoutParser::startMemberDef(), LayoutParser::startMemberDefEntry(), LayoutParser::startSectionEntry(), and LayoutParser::startSimpleEntry().
|
private |
Definition at line 1454 of file layout.cpp.
Referenced by clear(), and LayoutParser::startTop().
LayoutNavEntry * LayoutDocManager::createChildNavEntry | ( | LayoutNavEntry * | root, |
LayoutNavEntry::Kind | k, | ||
bool | vs, | ||
const QCString & | bf, | ||
const QCString & | tl, | ||
const QCString & | intro ) |
Definition at line 1439 of file layout.cpp.
Referenced by LayoutParser::startNavEntry().
const LayoutDocEntryList & LayoutDocManager::docEntries | ( | LayoutDocManager::LayoutPart | part | ) | const |
Returns the list of LayoutDocEntry's in representation order for a given page identified by part.
Definition at line 1429 of file layout.cpp.
References d.
void LayoutDocManager::init | ( | ) |
Definition at line 1406 of file layout.cpp.
References QCString::data(), LayoutParser::endElement(), XMLHandlers::endElement, LayoutParser::error(), XMLHandlers::error, ResourceMgr::getAsString(), LayoutParser::instance(), ResourceMgr::instance(), Debug::isFlagSet(), LayoutParser, Debug::Lex_xml, msg(), XMLParser::parse(), LayoutParser::setDocumentLocator(), LayoutParser::startElement(), and XMLHandlers::startElement.
Referenced by parseInput().
|
static |
Returns a reference to this singleton.
Definition at line 1423 of file layout.cpp.
References LayoutDocManager().
Referenced by addMembersToIndex(), ClassDefImpl::countAdditionalInheritedMembers(), ModuleDefImpl::countVisibleMembers(), NamespaceDefImpl::countVisibleMembers(), LayoutParser::endMemberDecl(), LayoutParser::endMemberDef(), generateJSNavTree(), ClassDefImpl::getTitleForMemberListType(), parseInput(), printLayout(), renderQuickLinksAsTabs(), ClassDefImpl::setAnonymousEnumType(), LayoutParser::startMemberDecl(), LayoutParser::startMemberDeclEntry(), LayoutParser::startMemberDef(), LayoutParser::startMemberDefEntry(), LayoutParser::startNavEntry(), LayoutParser::startNavIndex(), LayoutParser::startSectionEntry(), LayoutParser::startSimpleEntry(), LayoutParser::startTop(), ClassDefImpl::writeAdditionalInheritedMembers(), writeAlphabeticalExceptionIndex(), writeAlphabeticalIndex(), writeAlphabeticalInterfaceIndex(), writeAlphabeticalStructIndex(), writeAnnotatedIndexGeneric(), writeClassMemberIndex(), writeClassMemberIndexFiltered(), writeConceptIndex(), ClassDefImpl::writeDeclaration(), writeDefaultQuickLinks(), ConceptDefImpl::writeDocumentation(), DirDefImpl::writeDocumentation(), FileDefImpl::writeDocumentation(), GroupDefImpl::writeDocumentation(), ModuleDefImpl::writeDocumentation(), NamespaceDefImpl::writeDocumentation(), ClassDefImpl::writeDocumentationContents(), writeExampleIndex(), writeFileIndex(), writeFileMemberIndex(), writeFileMemberIndexFiltered(), writeGraphicalClassHierarchy(), writeGraphicalExceptionHierarchy(), writeGraphicalInterfaceHierarchy(), writeGroupTreeNode(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), writeIndex(), writeIndexHierarchy(), writeIndexHierarchyEntries(), ClassDefImpl::writeInlineDocumentation(), writeMenuData(), writeModuleIndex(), writeModuleMemberIndex(), writeModuleMemberIndexFiltered(), writeModuleMembers(), writeNamespaceIndex(), writeNamespaceMemberIndex(), writeNamespaceMemberIndexFiltered(), writeNamespaceMembers(), writePageIndex(), writePages(), ClassDefImpl::writeSummaryLinks(), FileDefImpl::writeSummaryLinks(), GroupDefImpl::writeSummaryLinks(), ModuleDefImpl::writeSummaryLinks(), NamespaceDefImpl::writeSummaryLinks(), ClassDefImpl::writeTagFile(), DirDefImpl::writeTagFile(), FileDefImpl::writeTagFile(), GroupDefImpl::writeTagFile(), ModuleDefImpl::writeTagFile(), NamespaceDefImpl::writeTagFile(), and writeTopicIndex().
void LayoutDocManager::parse | ( | const QCString & | fileName, |
const char * | data = nullptr ) |
Parses a user provided layout.
Definition at line 1459 of file layout.cpp.
References QCString::data(), LayoutParser::endElement(), XMLHandlers::endElement, LayoutParser::error(), XMLHandlers::error, fileToString(), LayoutParser::instance(), Debug::isFlagSet(), LayoutParser, Debug::Lex_xml, msg(), XMLParser::parse(), DebugLex::print(), qPrint(), LayoutParser::setDocumentLocator(), LayoutParser::startElement(), XMLHandlers::startElement, and transcodeCharacterStringToUTF8().
Referenced by parseInput().
|
inlinestatic |
Definition at line 244 of file layout.h.
References PART_SPECIFICATIONS.
Referenced by printLayout().
LayoutNavEntry * LayoutDocManager::rootNavEntry | ( | ) | const |
returns the (invisible) root of the navigation tree.
Definition at line 1434 of file layout.cpp.
References d.
Referenced by generateJSNavTree(), LayoutParser::startNavIndex(), LayoutParser::startTop(), writeAlphabeticalExceptionIndex(), writeAlphabeticalIndex(), writeAlphabeticalInterfaceIndex(), writeAlphabeticalStructIndex(), writeAnnotatedIndexGeneric(), writeClassMemberIndex(), writeClassMemberIndexFiltered(), writeConceptIndex(), writeDefaultQuickLinks(), writeExampleIndex(), writeFileIndex(), writeFileMemberIndex(), writeFileMemberIndexFiltered(), writeGraphicalClassHierarchy(), writeGraphicalExceptionHierarchy(), writeGraphicalInterfaceHierarchy(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), writeIndex(), writeIndexHierarchy(), writeMenuData(), writeModuleIndex(), writeModuleMemberIndex(), writeModuleMemberIndexFiltered(), writeNamespaceIndex(), writeNamespaceMemberIndex(), writeNamespaceMemberIndexFiltered(), writePageIndex(), writePages(), and writeTopicIndex().
|
friend |
Definition at line 272 of file layout.h.
References LayoutParser, and writeDefaultLayoutFile().
Referenced by init(), LayoutParser, and parse().
|
private |
Definition at line 271 of file layout.h.
Referenced by addEntry(), clear(), createChildNavEntry(), docEntries(), LayoutDocManager(), and rootNavEntry().