NDEVR
API Documentation
StringStream< String >

StringStream specialization for String types, providing identity-like conversion. More...

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

Static Public Member Functions

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

Detailed Description

StringStream specialization for String types, providing identity-like conversion.


Definition at line 285 of file StringStream.h.

Member Function Documentation

◆ fromString()

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

Parses a String from a string view.

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

◆ getValidRegex()

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

Returns a regex pattern that validates String input.

Returns
A C-string containing the regex pattern.

◆ toDisplayString()

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

Converts a String to a user-facing translated string.

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

◆ toString()

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

Converts a String to its string representation.

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

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