An internal node in the inline element tree

Synopsis

Declared in <mrdocs/Metadata/DocComment/Inline/InlineBase.hpp>

struct InlineContainer;

Member Functions

Name

Description

InlineContainer [constructor]

Construct an InlineContainer with a single TextInline child.

~InlineContainer [destructor] [virtual]

Destructor

operator=

Assign an InlineContainer with a single TextInline child.

append

append overloads

asInlineContainer

Helper function so that derived classes can get a reference to the base class.

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.

empty

Determine if there are no inline children.

end

End iterator forwarding to children

erase

Erase from children

front

Get the first inline child.

insert

Erase from children

operator+=

Addition assignment operators

size

Get the number of inline children.

operator==

Compare two InlineContainers.

operator<=>

Compare two InlineContainers.

Data Members

Name

children

Non-Member Functions

Name

Description

getAsPlainText

Flatten an InlineContainer to plain text.

getAsPlainText

Flatten an InlineContainer to plain text.

ltrim

Removes leading whitespace from the first text element in the given InlineContainer.

rtrim

Removes trailing whitespace from the last text element in the given InlineContainer.

trim

Removes leading and trailing whitespace from the text elements in the given InlineContainer.

Derived Classes

Name

Description

BriefBlock

The brief description

CodeInline

A piece of styled text.

EmphInline

A piece of styled text.

HeadingBlock

A manually specified section heading.

HighlightInline

A piece of highlighted text.

ImageInline

An image.

LinkInline

A hyperlink.

ParagraphBlock

A sequence of text nodes.

ParamBlock

Documentation for a function parameter

PostconditionBlock

PreconditionBlock

ReturnsBlock

Documentation for a function return type

SeeBlock

A

StrikethroughInline

A piece of styled text.

StrongInline

A piece of styled text.

SubscriptInline

A piece of styled text.

SuperscriptInline

A piece of styled text.

TParamBlock

Documentation for a template parameter

TableCell

A cell in a table

ThrowsBlock

Documentation for a function parameter

Created with MrDocs