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);

Parse a FIX date‐tz string_view into a DateTz.

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

Parse a FIX datetime string_view into a Datetime.

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

Parse a FIX datetime‐tz string_view into a DatetimeTz.

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

Parse a FIX time string_view into a Time.

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

Parse a FIX time‐tz string_view into a TimeTz.

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

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

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

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

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

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

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

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

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

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

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

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

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

Return Value

0 on success, non‐zero on failure

Parameters

Name

Description

result

destination for the parsed value

string

FIX date string to parse

length

number of characters to parse

Created with MrDocs