NDEVR
API Documentation
StringStream< StringAllocatingView >

StringStream specialization for StringAllocatingView types, providing owning string conversion. More...

Inheritance diagram for StringStream< StringAllocatingView >:
[legend]
Collaboration diagram for StringStream< StringAllocatingView >:
[legend]

Static Public Member Functions

static void fromString (const StringView &string, StringAllocatingView &value)
 Parses a StringAllocatingView from a string view.
static const char * getValidRegex ()
 Returns a regex pattern that validates StringAllocatingView input.
static void toDisplayString (const StringAllocatingView &value, TranslatedString &string)
 Converts a StringAllocatingView to a user-facing translated string.
static void toString (const StringAllocatingView &value, StringAllocatingView &string)
 Converts a StringAllocatingView to its string representation.

Detailed Description

StringStream specialization for StringAllocatingView types, providing owning string conversion.


Definition at line 347 of file StringStream.h.

Member Function Documentation

◆ fromString()

void StringStream< StringAllocatingView >::fromString ( const StringView & string,
StringAllocatingView & value )
static

Parses a StringAllocatingView from a string view.

Parameters
[in]stringThe string view to parse from.
[in]valueThe output StringAllocatingView to populate.

◆ getValidRegex()

const char * StringStream< StringAllocatingView >::getValidRegex ( )
static

Returns a regex pattern that validates StringAllocatingView input.

Returns
A C-string containing the regex pattern.

◆ toDisplayString()

void StringStream< StringAllocatingView >::toDisplayString ( const StringAllocatingView & value,
TranslatedString & string )
static

Converts a StringAllocatingView to a user-facing translated string.

Parameters
[in]valueThe StringAllocatingView to convert.
[in]stringThe output translated string to write to.

◆ toString()

void StringStream< StringAllocatingView >::toString ( const StringAllocatingView & value,
StringAllocatingView & string )
static

Converts a StringAllocatingView to its string representation.

Parameters
[in]valueThe StringAllocatingView to convert.
[in]stringThe output string view to write to.

The documentation for this class was generated from the following file: