[#BloombergLP-bdlt-FixUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::FixUtil :relfileprefix: ../../ :mrdocs: This `struct` provides a namespace for a suite of pure functions that perform conversions between objects of `bdlt` vocabulary type and their FIX representations. Each `generate` and `generateRaw` method takes a `bdlt` object (of type `Date`, `DateTz`, `Time`, `TimeTz`, `Datetime`, or `DatetimeTz`) and outputs its corresponding FIX representation to a user‐supplied character buffer or `bsl::ostream`. The `parse` methods effect the opposite conversion in that they populate a `bdlt` object from the result of parsing a FIX representation. == Synopsis Declared in `<bdlt_fixutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct FixUtil; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/FixUtil/_04enum.adoc[`Unnamed enum`] | This enumeration defines fixed lengths for the FIX representations of date, time, and datetime values. Note that these constants do _not_ account for the null terminator that may be produced by the `generate` functions taking a `bufferLength` argument. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/FixUtil/generate-088d.adoc[`generate`] | `generate` overloads | xref:BloombergLP/bdlt/FixUtil/generateRaw-0f.adoc[`generateRaw`] | Write the FIX representation of the specified `object` to the specified `buffer`. 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. `buffer` is not null terminated. The behavior is undefined unless `buffer` has sufficient capacity. Note that a buffer of size `k_MAX_STRLEN + 1` is large enough to hold any string generated by this component (counting a null terminator, if any). | xref:BloombergLP/bdlt/FixUtil/parse-04a.adoc[`parse`] | `parse` overloads |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#