UTF‐8 string value used by the DOM.

Synopsis

Declared in <mrdocs/Dom/String.hpp>

class String final

Member Functions

Name

Description

String [constructor]

Constructor.

~String [destructor]

Destructor.

operator=

Assignment.

c_str

Return the string.

data

Return the string.

empty

Return true if the string is empty.

get

Return the string.

size

Return the size.

str

Return the string.

swap

Swap two strings.

operator std::string_view

Return the string.

Friends

Name

Description

mrdocs::dom::operator+

mrdocs::dom::operator+

mrdocs::dom::operator+

Concatenate two strings.

mrdocs::dom::operator<=>

Return the result of comparing two strings.

mrdocs::dom::operator!=

Return the result of comparing two strings.

mrdocs::dom::operator==

Return the result of comparing two strings.

mrdocs::dom::operator<=>

Return the result of comparing two strings.

mrdocs::dom::operator!=

Return the result of comparing two strings.

mrdocs::dom::operator==

Return the result of comparing two strings.

mrdocs::dom::swap

Swap two strings.

Created with MrDocs