generate overloads
Synopses
Declared in <bdlt_fixutil.h>
Write the FIX representation of the specified object to the specified stream.
Same as the preceding overload for a DateTz.
Same as the preceding overload for a Datetime.
Same as the preceding overload for a DatetimeTz.
static
std::ostream&
generate(
std::ostream& stream,
DatetimeTz const& object);
Same as the preceding overload for a Time.
Same as the preceding overload for a TimeTz.
Load the FIX representation of the specified object into the specified string.
static
int
generate(
bsl::string* string,
Date const& object);
Same as the preceding overload for a DateTz.
static
int
generate(
bsl::string* string,
DateTz const& object);
Same as the preceding overload for a Datetime.
static
int
generate(
bsl::string* string,
Datetime const& object);
Same as the preceding overload for a DatetimeTz.
static
int
generate(
bsl::string* string,
DatetimeTz const& object);
Same as the preceding overload for a Time.
static
int
generate(
bsl::string* string,
Time const& object);
Same as the preceding overload for a TimeTz.
static
int
generate(
bsl::string* string,
TimeTz const& object);
Load the FIX representation of the specified object into the specified string.
Same as the preceding overload for a DateTz.
Same as the preceding overload for a Datetime.
Same as the preceding overload for a DatetimeTz.
static
int
generate(
std::pmr::string* string,
DatetimeTz const& object);
Same as the preceding overload for a Time.
Same as the preceding overload for a TimeTz.
Load the FIX representation of the specified object into the specified string.
Same as the preceding overload for a DateTz.
Same as the preceding overload for a Datetime.
Same as the preceding overload for a DatetimeTz.
static
int
generate(
std::string* string,
DatetimeTz const& object);
Same as the preceding overload for a Time.
Same as the preceding overload for a TimeTz.
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);
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);
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);
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);
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);
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);
Write a truncated FIX representation of object to buffer.
Same as the preceding overload for a DateTz.
Same as the preceding overload for a Datetime.
Same as the preceding overload for a DatetimeTz.
static
int
generate(
char* buffer,
int bufferLength,
DatetimeTz const& object);
Same as the preceding overload for a Time.
Same as the preceding overload for a TimeTz.
Same as the preceding overload for a Date, using the specified configuration.
static
int
generate(
bsl::string* string,
Date const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a DateTz, using the specified configuration.
static
int
generate(
bsl::string* string,
DateTz const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a Datetime, using the specified configuration.
static
int
generate(
bsl::string* string,
Datetime const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a DatetimeTz, using the specified configuration.
static
int
generate(
bsl::string* string,
DatetimeTz const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a Time, using the specified configuration.
static
int
generate(
bsl::string* string,
Time const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a TimeTz, using the specified configuration.
static
int
generate(
bsl::string* string,
TimeTz const& object,
FixUtilConfiguration const& configuration);
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);
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);
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);
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);
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);
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);
Same as the preceding overload for a Date, using the specified configuration.
static
int
generate(
std::string* string,
Date const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a DateTz, using the specified configuration.
static
int
generate(
std::string* string,
DateTz const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a Datetime, using the specified configuration.
static
int
generate(
std::string* string,
Datetime const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a DatetimeTz, using the specified configuration.
static
int
generate(
std::string* string,
DatetimeTz const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a Time, using the specified configuration.
static
int
generate(
std::string* string,
Time const& object,
FixUtilConfiguration const& configuration);
Same as the preceding overload for a TimeTz, using the specified configuration.
static
int
generate(
std::string* string,
TimeTz const& object,
FixUtilConfiguration const& configuration);
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);
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);
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);
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);
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);
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);
Return Value
-
a reference to
stream -
the number of characters in the formatted string
-
the number of characters written before truncation
Parameters
Name |
Description |
stream |
the output stream |
object |
the value to format |
string |
destination string |
configuration |
formatting configuration |
buffer |
destination buffer |
bufferLength |
capacity of |
Created with MrDocs