| 
    Doxygen
    
   | 
 
#include <src/docnode.h>
Public Member Functions | |
| 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.   | |
| void | move_append (DocNodeList &l) | 
| moves the element of list l at the end of this list.   | |
| 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.   | |
| Public Member Functions inherited from GrowVector< DocNodeVariant > | |
| iterator | begin () | 
| returns an iterator to the beginning   | |
| iterator | end () | 
| returns an iterator to the end   | |
| size_t | size () const | 
| returns the number of elements   | |
| void | push_back (DocNodeVariant &&t) | 
| adds an element to the end   | |
| void | emplace_back (Args &&...args) | 
| constructs an element in-place at the end   | |
| void | pop_back () | 
| removes the last element   | |
| DocNodeVariant & | at (size_t i) | 
| access specified element   | |
| DocNodeVariant & | front () | 
| access the first element   | |
| DocNodeVariant & | back () | 
| access the last element   | |
| bool | empty () const | 
| checks whether the container is empty   | |
| void | clear () | 
| clears the contents   | |
Additional Inherited Members | |
| Public Types inherited from GrowVector< DocNodeVariant > | |
| using | iterator | 
| using | const_iterator | 
      
  | 
  inline | 
Append a new DocNodeVariant to the list by constructing it with type T and parameters Args.
Definition at line 1399 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().
      
  | 
  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 1410 of file docnode.h.
References 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().
| void DocNodeList::move_append | ( | DocNodeList & | l | ) | 
moves the element of list l at the end of this list.
List l will become empty.
Definition at line 828 of file docnode.cpp.
References GrowVector< T >::clear(), and GrowVector< DocNodeVariant >::emplace_back().
Referenced by flattenParagraphs().