BloombergLP::bdlt::FixUtil::parse

parse overloads

Synopses

Declared in <bdlt_fixutil.h>

Parse a FIX date string_view into a Date.

static
int
parse(
    Date* result,
    std::string_view const& string);
» more...

Parse a FIX date-tz string_view into a DateTz.

static
int
parse(
    DateTz* result,
    std::string_view const& string);
» more...

Parse a FIX datetime string_view into a Datetime.

static
int
parse(
    Datetime* result,
    std::string_view const& string);
» more...

Parse a FIX datetime-tz string_view into a DatetimeTz.

static
int
parse(
    DatetimeTz* result,
    std::string_view const& string);
» more...

Parse a FIX time string_view into a Time.

static
int
parse(
    Time* result,
    std::string_view const& string);
» more...

Parse a FIX time-tz string_view into a TimeTz.

static
int
parse(
    TimeTz* result,
    std::string_view const& string);
» more...

Parse a FIX date string of the given length into a Date.

static
int
parse(
    Date* result,
    char const* string,
    int length);
» more...

Parse a FIX date-tz string of the given length into a DateTz.

static
int
parse(
    DateTz* result,
    char const* string,
    int length);
» more...

Parse a FIX datetime string of the given length into a Datetime.

static
int
parse(
    Datetime* result,
    char const* string,
    int length);
» more...

Parse a FIX datetime-tz string of the given length into a DatetimeTz.

static
int
parse(
    DatetimeTz* result,
    char const* string,
    int length);
» more...

Parse a FIX time string of the given length into a Time.

static
int
parse(
    Time* result,
    char const* string,
    int length);
» more...

Parse a FIX time-tz string of the given length into a TimeTz.

static
int
parse(
    TimeTz* result,
    char const* string,
    int length);
» more...

Return Value

0 on success, non-zero on failure

Parameters

NameDescription
resultdestination for the parsed value
stringFIX date string to parse
lengthnumber of characters to parse