The DocNodeList
Struct Reference
Declaration
Included Headers
Base struct
class | GrowVector<T> |
std::vector like container optimized for pushing elements to the back. More... | |
Public Member Functions Index
template <class T, class... Args> | |
void | append (Args &&... args) |
Append a new DocNodeVariant to the list by constructing it with type T and parameters Args. More... | |
void | move_append (DocNodeList &l) |
moves the element of list l at the end of this list. More... | |
template <class T> | |
T * | get_last () |
Returns a pointer to the last element in the list if that element exists and holds a T, otherwise nullptr is returned. More... | |
Definition at line 118 of file docnode.h.
Public Member Functions
append()
| inline |
Append a new DocNodeVariant to the list by constructing it with type T and parameters Args.
Definition at line 124 of file docnode.h.
References GrowVector< DocNodeVariant >::back and GrowVector< DocNodeVariant >::emplace_back.
Referenced by DocSimpleSect::appendLinkWord, DocParser::defaultHandleToken, DocParser::errorHandleDefaultToken, DocParser::handleAHref, DocParser::handleAnchor, DocPara::handleCite, DocPara::handleCommand, DocPara::handleDoxyConfig, DocPara::handleEmoji, DocPara::handleFile, DocPara::handleHtmlEndTag, DocPara::handleHtmlHeader, DocPara::handleHtmlStartTag, DocParser::handleImage, DocParser::handleImg, DocPara::handleInclude, DocPara::handleIncludeOperator, DocParser::handleInternalRef, DocPara::handleLink, DocParser::handleLinkedWord, DocParser::handleParameterType, DocPara::handleParamSection, DocParser::handlePendingStyleCommands, DocPara::handleRef, DocPara::handleShowDate, DocPara::handleSimpleSection, DocPara::handleStartCode, DocParser::handleStyleEnter, DocParser::handleStyleLeave, DocPara::handleVhdlFlow, DocPara::handleXRefItem, DocParser::internalValidatingParseDoc, DocAutoList::parse, DocAutoListItem::parse, DocHRef::parse, DocHtmlBlockQuote::parse, DocHtmlCell::parse, DocHtmlDescData::parse, DocHtmlDescList::parse, DocHtmlDescTitle::parse, DocHtmlDetails::parse, DocHtmlHeader::parse, DocHtmlList::parse, DocHtmlListItem::parse, DocHtmlRow::parse, DocHtmlTable::parse, DocInternal::parse, DocLink::parse, DocPara::parse, DocParamSect::parse, DocParBlock::parse, DocRoot::parse, DocSecRefList::parse, DocSection::parse, DocSimpleList::parse, DocSimpleSect::parse, DocText::parse, DocHtmlCell::parseXml, DocHtmlList::parseXml, DocHtmlListItem::parseXml, DocHtmlRow::parseXml, DocHtmlTable::parseXml and DocSimpleSect::parseXml.
get_last()
| inline |
Returns a pointer to the last element in the list if that element exists and holds a T, otherwise nullptr is returned.
Definition at line 134 of file docnode.h.
Reference GrowVector< DocNodeVariant >::back.
Referenced by DocSimpleSect::appendLinkWord, DocParser::handleAHref, DocPara::handleCommand, DocPara::handleFile, DocPara::handleHtmlHeader, DocPara::handleHtmlStartTag, DocParser::handleImage, DocPara::handleInclude, DocPara::handleIncludeOperator, DocParser::handleInternalRef, DocPara::handleLink, DocPara::handleParamSection, DocPara::handleRef, DocPara::handleSimpleSection, DocPara::handleVhdlFlow, DocPara::handleXRefItem, DocParser::internalValidatingParseDoc, DocAutoList::parse, DocAutoListItem::parse, DocHtmlBlockQuote::parse, DocHtmlCell::parse, DocHtmlDescData::parse, DocHtmlDescList::parse, DocHtmlDescTitle::parse, DocHtmlDetails::parse, DocHtmlList::parse, DocHtmlListItem::parse, DocHtmlRow::parse, DocHtmlTable::parse, DocInternal::parse, DocPara::parse, DocParamSect::parse, DocParBlock::parse, DocRoot::parse, DocSecRefList::parse, DocSection::parse, DocSimpleList::parse, DocSimpleSect::parse, DocHtmlCell::parseXml, DocHtmlList::parseXml, DocHtmlListItem::parseXml, DocHtmlRow::parseXml, DocHtmlTable::parseXml and DocSimpleSect::parseXml.
move_append()
|
moves the element of list l at the end of this list.
List l will become empty.
Declaration at line 128 of file docnode.h, definition at line 816 of file docnode.cpp.
References GrowVector< T >::clear and GrowVector< DocNodeVariant >::emplace_back.
Referenced by flattenParagraphs.
The documentation for this struct was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.