BloombergLP::balxml::TypesParserUtil

This struct contains functions for parsing input strings using various XML formatting modes.

Synopsis

Declared in <balxml_typesparserutil.h>

struct TypesParserUtil;

Static Member Functions

NameDescription
parse Parse the specified input of the specified inputLength using the specified formattingMode and load the result into the specified result. Return 0 on success, and a non-zero value otherwise. The behavior is undefined unless the parameterized TYPE and the formattingMode combination is supported (supported combinations are listed in the component-level documentation).
parseBase64 Parse the specified input using bdlat_FormattingMode::e_BASE64.
parseDecimal Parse the specified input of the specified inputLength using bdlat_FormattingMode::e_DEC and load the result into the specified result. Return 0 on success, and a non-zero value otherwise.
parseDefault Parse the specified input of the specified inputLength using bdlat_FormattingMode::e_DEFAULT and load the result into the specified result. Return 0 on success, and a non-zero value otherwise.
parseHex Parse the specified input using bdlat_FormattingMode::e_HEX.
parseList Parse the specified input of the specified inputLength using bdlat_FormattingMode::e_LIST and load the result into the specified result. Return 0 on success, and a non-zero value otherwise.
parseText Parse the specified input using bdlat_FormattingMode::e_TEXT.