mrdocs::doc::ReturnsBlock

Documentation for a function return type

Synopsis

Declared in <mrdocs/Metadata/DocComment/Block/ReturnsBlock.hpp>
struct ReturnsBlock final
    : BlockCommonBase<BlockKind::Returns>
    , InlineContainer

Description

Syntax:

@return description

Base Classes

Name Description
BlockCommonBase<BlockKind::Returns>Base class for providing variant discriminator functions.
InlineContainerAn internal node in the inline element tree.

Member Functions

NameDescription
ReturnsBlock [constructor]Constructors
~ReturnsBlock [destructor] [virtual]Virtual destructor for polymorphic base.
operator= Assignment operators
append append overloads
asInlineContainer Return this container as a base-class reference.
back Get the last inline child.
begin Begin iterator forwarding to children.
clear Clear all inline children.
emplace_back Append a child of the specified type in-place.
empty Determine if there are no inline children.
end End iterator forwarding to children.
erase Erase inline children.
front Get the first inline child.
insert Insert inline children.
operator+= Addition assignment operators
size Get the number of inline children.
operator== Equality operators
operator<=> Three-way comparison operators

Static Member Functions

Name
isAdmonition
isBrief
isCode
isDefinitionList
isFootnoteDefinition
isHeading
isList
isMath
isParagraph
isParam
isPostcondition
isPrecondition
isQuote
isReturns
isSee
isTParam
isTable
isThematicBreak
isThrows

Data Members

NameDescription
children Child inline elements contained here.

Static Data Members

Name
kind_id

Using Declarations

NameDescription
ReturnsBlock Inherit inline container constructors.

Non-Member Functions

Name Description
getAsPlainTextFlatten an InlineContainer to plain text.
getAsPlainTextFlatten an InlineContainer to plain text.
isEmptyDetermine if the inline is empty
ltrimRemoves leading whitespace from the first text element in the given InlineContainer.
ltrimRemoves leading whitespace from the block.
rtrimRemoves trailing whitespace from the last text element in the given InlineContainer.
rtrimRemoves trailing whitespace from the block.
trimRemoves leading and trailing whitespace from the block.
trimRemoves leading and trailing whitespace from the text elements in the given InlineContainer.