BloombergLP::bdlt::FixUtil::generate

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

Synopsis

Declared in <bdlt_fixutil.h>

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

Description

Optionally specify a configuration to affect the format of the generated string. If configuration is not supplied, the process-wide default value FixUtilConfiguration::defaultConfiguration() is used. Return the number of characters in the formatted string. The previous contents of string (if any) are discarded.

Return Value

the number of characters in the formatted string

Parameters

NameDescription
stringdestination string
objectthe value to format