BloombergLP::bdlt::FixUtil::generate

generate overloads

Synopses

Declared in <bdlt_fixutil.h>

Write the FIX representation of the specified object to the specified stream.

static
std::ostream&
generate(
    std::ostream& stream,
    Date const& object);
» more...

Same as the preceding overload for a DateTz.

static
std::ostream&
generate(
    std::ostream& stream,
    DateTz const& object);
» more...

Same as the preceding overload for a Datetime.

static
std::ostream&
generate(
    std::ostream& stream,
    Datetime const& object);
» more...

Same as the preceding overload for a DatetimeTz.

static
std::ostream&
generate(
    std::ostream& stream,
    DatetimeTz const& object);
» more...

Same as the preceding overload for a Time.

static
std::ostream&
generate(
    std::ostream& stream,
    Time const& object);
» more...

Same as the preceding overload for a TimeTz.

static
std::ostream&
generate(
    std::ostream& stream,
    TimeTz const& object);
» more...

Load the FIX representation of the specified object into the specified string.

static
int
generate(
    bsl::string* string,
    Date const& object);
» more...

Same as the preceding overload for a DateTz.

static
int
generate(
    bsl::string* string,
    DateTz const& object);
» more...

Same as the preceding overload for a Datetime.

static
int
generate(
    bsl::string* string,
    Datetime const& object);
» more...

Same as the preceding overload for a DatetimeTz.

static
int
generate(
    bsl::string* string,
    DatetimeTz const& object);
» more...

Same as the preceding overload for a Time.

static
int
generate(
    bsl::string* string,
    Time const& object);
» more...

Same as the preceding overload for a TimeTz.

static
int
generate(
    bsl::string* string,
    TimeTz const& object);
» more...

Load the FIX representation of the specified object into the specified string.

static
int
generate(
    std::pmr::string* string,
    Date const& object);
» more...

Same as the preceding overload for a DateTz.

static
int
generate(
    std::pmr::string* string,
    DateTz const& object);
» more...

Same as the preceding overload for a Datetime.

static
int
generate(
    std::pmr::string* string,
    Datetime const& object);
» more...

Same as the preceding overload for a DatetimeTz.

static
int
generate(
    std::pmr::string* string,
    DatetimeTz const& object);
» more...

Same as the preceding overload for a Time.

static
int
generate(
    std::pmr::string* string,
    Time const& object);
» more...

Same as the preceding overload for a TimeTz.

static
int
generate(
    std::pmr::string* string,
    TimeTz const& object);
» more...

Load the FIX representation of the specified object into the specified string.

static
int
generate(
    std::string* string,
    Date const& object);
» more...

Same as the preceding overload for a DateTz.

static
int
generate(
    std::string* string,
    DateTz const& object);
» more...

Same as the preceding overload for a Datetime.

static
int
generate(
    std::string* string,
    Datetime const& object);
» more...

Same as the preceding overload for a DatetimeTz.

static
int
generate(
    std::string* string,
    DatetimeTz const& object);
» more...

Same as the preceding overload for a Time.

static
int
generate(
    std::string* string,
    Time const& object);
» more...

Same as the preceding overload for a TimeTz.

static
int
generate(
    std::string* string,
    TimeTz const& object);
» more...

Same as the preceding overload for a Date, using the specified configuration.

static
std::ostream&
generate(
    std::ostream& stream,
    Date const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DateTz, using the specified configuration.

static
std::ostream&
generate(
    std::ostream& stream,
    DateTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Datetime, using the specified configuration.

static
std::ostream&
generate(
    std::ostream& stream,
    Datetime const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DatetimeTz, using the specified configuration.

static
std::ostream&
generate(
    std::ostream& stream,
    DatetimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Time, using the specified configuration.

static
std::ostream&
generate(
    std::ostream& stream,
    Time const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a TimeTz, using the specified configuration.

static
std::ostream&
generate(
    std::ostream& stream,
    TimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Write a truncated FIX representation of object to buffer.

static
int
generate(
    char* buffer,
    int bufferLength,
    Date const& object);
» more...

Same as the preceding overload for a DateTz.

static
int
generate(
    char* buffer,
    int bufferLength,
    DateTz const& object);
» more...

Same as the preceding overload for a Datetime.

static
int
generate(
    char* buffer,
    int bufferLength,
    Datetime const& object);
» more...

Same as the preceding overload for a DatetimeTz.

static
int
generate(
    char* buffer,
    int bufferLength,
    DatetimeTz const& object);
» more...

Same as the preceding overload for a Time.

static
int
generate(
    char* buffer,
    int bufferLength,
    Time const& object);
» more...

Same as the preceding overload for a TimeTz.

static
int
generate(
    char* buffer,
    int bufferLength,
    TimeTz const& object);
» more...

Same as the preceding overload for a Date, using the specified configuration.

static
int
generate(
    bsl::string* string,
    Date const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DateTz, using the specified configuration.

static
int
generate(
    bsl::string* string,
    DateTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Datetime, using the specified configuration.

static
int
generate(
    bsl::string* string,
    Datetime const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DatetimeTz, using the specified configuration.

static
int
generate(
    bsl::string* string,
    DatetimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Time, using the specified configuration.

static
int
generate(
    bsl::string* string,
    Time const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a TimeTz, using the specified configuration.

static
int
generate(
    bsl::string* string,
    TimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Date, using the specified configuration.

static
int
generate(
    std::pmr::string* string,
    Date const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DateTz, using the specified configuration.

static
int
generate(
    std::pmr::string* string,
    DateTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Datetime, using the specified configuration.

static
int
generate(
    std::pmr::string* string,
    Datetime const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DatetimeTz, using the specified configuration.

static
int
generate(
    std::pmr::string* string,
    DatetimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Time, using the specified configuration.

static
int
generate(
    std::pmr::string* string,
    Time const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a TimeTz, using the specified configuration.

static
int
generate(
    std::pmr::string* string,
    TimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Date, using the specified configuration.

static
int
generate(
    std::string* string,
    Date const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DateTz, using the specified configuration.

static
int
generate(
    std::string* string,
    DateTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Datetime, using the specified configuration.

static
int
generate(
    std::string* string,
    Datetime const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DatetimeTz, using the specified configuration.

static
int
generate(
    std::string* string,
    DatetimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Time, using the specified configuration.

static
int
generate(
    std::string* string,
    Time const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a TimeTz, using the specified configuration.

static
int
generate(
    std::string* string,
    TimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Date, using the specified configuration.

static
int
generate(
    char* buffer,
    int bufferLength,
    Date const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DateTz, using the specified configuration.

static
int
generate(
    char* buffer,
    int bufferLength,
    DateTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Datetime, using the specified configuration.

static
int
generate(
    char* buffer,
    int bufferLength,
    Datetime const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a DatetimeTz, using the specified configuration.

static
int
generate(
    char* buffer,
    int bufferLength,
    DatetimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a Time, using the specified configuration.

static
int
generate(
    char* buffer,
    int bufferLength,
    Time const& object,
    FixUtilConfiguration const& configuration);
» more...

Same as the preceding overload for a TimeTz, using the specified configuration.

static
int
generate(
    char* buffer,
    int bufferLength,
    TimeTz const& object,
    FixUtilConfiguration const& configuration);
» more...

Return Value

  • a reference to stream
  • the number of characters in the formatted string
  • the number of characters written before truncation

Parameters

NameDescription
streamthe output stream
objectthe value to format
stringdestination string
configurationformatting configuration
bufferdestination buffer
bufferLengthcapacity of buffer in bytes