The LayoutDocManager
Class Reference
Singleton providing access to the (user configurable) layout of the documentation. More...
Declaration
Included Headers
Enumerations Index
enum | LayoutPart { ... } |
Friends Index
class | LayoutParser |
Private Constructors Index
LayoutDocManager () | |
Private Destructor Index
~LayoutDocManager () | |
Public Member Functions Index
const LayoutDocEntryList & | docEntries (LayoutPart part) const |
Returns the list of LayoutDocEntry's in representation order for a given page identified by part. More... | |
LayoutNavEntry * | rootNavEntry () const |
returns the (invisible) root of the navigation tree. More... | |
LayoutNavEntry * | createChildNavEntry (LayoutNavEntry *root, LayoutNavEntry::Kind k, bool vs, const QCString &bf, const QCString &tl, const QCString &intro) |
append a new node as a child to root. More... | |
void | parse (const QCString &fileName, const char *data=nullptr) |
Parses a user provided layout. More... | |
void | init () |
int | majorVersion () const |
int | minorVersion () const |
Private Member Functions Index
void | addEntry (LayoutPart p, LayoutDocEntryPtr &&e) |
void | mergeNavEntries (LayoutDocManager &manager) |
void | mergeDocEntries (const QCString &fileName, LayoutDocManager &manager) |
void | removeInvisibleDocEntries () |
Private Member Attributes Index
std::unique_ptr< Private > | d |
Public Static Functions Index
static LayoutDocManager & | instance () |
Returns a reference to this singleton. More... | |
static std::string | partToString (int k) |
Description
Singleton providing access to the (user configurable) layout of the documentation.
Definition at line 261 of file layout.h.
Enumerations
LayoutPart
|
Definition at line 265 of file layout.h.
Friends
LayoutParser
|
Definition at line 306 of file layout.h.
References LayoutParser, printLayout and writeDefaultLayoutFile.
Referenced by init, LayoutParser and parse.
Private Constructors
LayoutDocManager()
|
Declaration at line 302 of file layout.h, definition at line 1407 of file layout.cpp.
Reference d.
Referenced by instance, mergeDocEntries, mergeNavEntries and parse.
Private Destructor
~LayoutDocManager()
|
Declaration at line 303 of file layout.h, definition at line 1411 of file layout.cpp.
Public Member Functions
createChildNavEntry()
|
append a new node as a child to root.
Declaration at line 289 of file layout.h, definition at line 1451 of file layout.cpp.
docEntries()
|
Returns the list of LayoutDocEntry's in representation order for a given page identified by part.
Declaration at line 284 of file layout.h, definition at line 1441 of file layout.cpp.
Reference d.
init()
|
Declaration at line 294 of file layout.h, definition at line 1415 of file layout.cpp.
References d, QCString::data, LayoutParser::endElement, XMLHandlers::endElement, LayoutParser::error, XMLHandlers::error, ResourceMgr::getAsString, instance, ResourceMgr::instance, Debug::isFlagSet, LayoutParser, Debug::Lex_xml, LayoutParser::majorVersion, LayoutParser::minorVersion, msg, XMLParser::parse, removeInvisibleDocEntries, LayoutParser::setDocumentLocator, LayoutParser::startElement and XMLHandlers::startElement.
Referenced by parseInput.
majorVersion()
|
Declaration at line 295 of file layout.h, definition at line 1529 of file layout.cpp.
Reference d.
minorVersion()
|
Declaration at line 296 of file layout.h, definition at line 1534 of file layout.cpp.
Reference d.
parse()
|
Parses a user provided layout.
Declaration at line 293 of file layout.h, definition at line 1468 of file layout.cpp.
References d, QCString::data, LayoutParser::endElement, XMLHandlers::endElement, LayoutParser::error, XMLHandlers::error, fileToString, Debug::isFlagSet, LayoutDocManager, LayoutParser, Debug::Lex_xml, LayoutParser::majorVersion, mergeDocEntries, LayoutParser::minorVersion, msg, XMLParser::parse, DebugLex::print, qPrint, removeInvisibleDocEntries, LayoutParser::setDocumentLocator, LayoutParser::startElement, XMLHandlers::startElement and transcodeCharacterStringToUTF8.
Referenced by parseInput.
rootNavEntry()
|
returns the (invisible) root of the navigation tree.
Declaration at line 287 of file layout.h, definition at line 1446 of file layout.cpp.
Reference d.
Referenced by generateJSNavTree, mergeNavEntries, 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.
Private Member Functions
addEntry()
|
Declaration at line 298 of file layout.h, definition at line 1462 of file layout.cpp.
Reference d.
mergeDocEntries()
|
Declaration at line 300 of file layout.h, definition at line 1721 of file layout.cpp.
References d, LayoutDocManager and mergeDocEntryLists.
Referenced by parse.
mergeNavEntries()
|
Declaration at line 299 of file layout.h, definition at line 1633 of file layout.cpp.
References LayoutDocManager, mergeNavTreeNodesRec and rootNavEntry.
removeInvisibleDocEntries()
|
Declaration at line 301 of file layout.h, definition at line 1509 of file layout.cpp.
Reference d.
Private Member Attributes
d
|
Definition at line 305 of file layout.h.
Referenced by addEntry, createChildNavEntry, docEntries, init, LayoutDocManager, majorVersion, mergeDocEntries, minorVersion, parse, removeInvisibleDocEntries and rootNavEntry.
Public Static Functions
instance()
| static |
Returns a reference to this singleton.
Declaration at line 272 of file layout.h, definition at line 1435 of file layout.cpp.
Reference LayoutDocManager.
Referenced by addMembersToIndex, ClassDefImpl::countAdditionalInheritedMembers, ModuleDefImpl::countVisibleMembers, NamespaceDefImpl::countVisibleMembers, generateJSNavTree, ClassDefImpl::getTitleForMemberListType, init, parseInput, printLayout, renderQuickLinksAsTabs, ClassDefImpl::setAnonymousEnumType, ClassDefImpl::writeAdditionalInheritedMembers, writeAlphabeticalExceptionIndex, writeAlphabeticalIndex, writeAlphabeticalInterfaceIndex, writeAlphabeticalStructIndex, writeAnnotatedIndexGeneric, writeClassMemberIndex, writeClassMemberIndexFiltered, writeConceptIndex, ClassDefImpl::writeDeclaration, writeDefaultQuickLinks, ClassDefImpl::writeDocumentation, 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.
partToString()
| inline static |
Definition at line 273 of file layout.h.
Reference PART_SPECIFICATIONS.
Referenced by printLayout.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.