The SectionManager
Class Reference
singleton class that owns the list of all sections More...
Declaration
Included Headers
Base class
class | LinkedMap<T, Hash, KeyEqual, Map> |
Container class representing a vector of objects with keys. More... | |
Private Constructors Index
SectionManager ()=default | |
Private Destructor Index
~SectionManager ()=default | |
Public Member Functions Index
SectionInfo * | add (const SectionInfo &si) |
SectionInfo * | add (const QCString &label, const QCString &fileName, int lineNr, const QCString &title, SectionType type, int level, const QCString &ref=QCString()) |
SectionInfo * | replace (const QCString &label, const QCString &fileName, int lineNr, const QCString &title, SectionType type, int level, const QCString &ref=QCString()) |
Public Static Functions Index
static SectionManager & | instance () |
returns a reference to the singleton More... | |
Description
singleton class that owns the list of all sections
Definition at line 133 of file section.h.
Private Constructors
SectionManager()
| default |
Definition at line 185 of file section.h.
Referenced by instance and ~SectionManager.
Private Destructor
~SectionManager()
| default |
Definition at line 186 of file section.h.
Reference SectionManager.
Public Member Functions
add()
| inline |
Add a new section given the data of an existing section. Returns a non-owning pointer to the newly added section.
Definition at line 138 of file section.h.
References LinkedMap< T, Hash, KeyEqual, Map >::add, SectionInfo::fileName, SectionInfo::label, SectionInfo::level, SectionInfo::lineNr, SectionInfo::ref, SectionInfo::title and SectionInfo::type.
Referenced by addAnchor, anonymous{tagreader.cpp}::TagFileParser::addDocAnchors, addRelatedPage, addSection, DefinitionImpl::addSectionsToDefinition, addXRefItem, anonymous{tagreader.cpp}::TagFileParser::buildLists and findMainPage.
add()
| inline |
Add a new section Return a non-owning pointer to the newly added section
Definition at line 147 of file section.h.
References LinkedMap< T, Hash, KeyEqual, Map >::add and QCString::data.
replace()
| inline |
Replace an existing section with a new one Return a non-owning pointer to the newly added section
Definition at line 156 of file section.h.
References LinkedMap< T, Hash, KeyEqual, Map >::add, QCString::data, LinkedMap< T, Hash, KeyEqual, Map >::find, SectionInfo::setFileName, SectionInfo::setLevel, SectionInfo::setLineNr, SectionInfo::setReference, SectionInfo::setTitle and SectionInfo::setType.
Referenced by addAnchor, anonymous{tagreader.cpp}::TagFileParser::addDocAnchors, addRelatedPage, addSection, addXRefItem and findMainPage.
Public Static Functions
instance()
| inline static |
returns a reference to the singleton
Definition at line 178 of file section.h.
Reference SectionManager.
Referenced by addAnchor, anonymous{tagreader.cpp}::TagFileParser::addDocAnchors, addRelatedPage, addSection, DefinitionImpl::addSectionsToDefinition, addXRefItem, anonymous{tagreader.cpp}::TagFileParser::buildLists, cleanUpDoxygen, clearAll, createJavaScriptSearchIndex, DocAnchor::DocAnchor, DocHtmlCaption::DocHtmlCaption, DocRef::DocRef, findMainPage, PerlModGenerator::generatePerlModForPage, generateSqlite3ForPage, generateXMLForPage, DocRoot::parse, DocSecRefItem::parse, DocSection::parse, printSectionsTree, processSection, resolveLink, resolveUserReferences, PageDefImpl::writeDocumentation, writeGroupTreeNode, GroupDefImpl::writePageDocumentation and PageDefImpl::writePageDocumentation.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.