9#ifndef INCLUDED_BDLT_FIXUTIL
10#define INCLUDED_BDLT_FIXUTIL
507#include <bdlscm_version.h>
518#include <bsl_ostream.h>
519#include <bsl_string.h>
531class FixUtilConfiguration;
568 static int generate(
char *buffer,
642 static int generate(std::string *
string,
647 static int generate(std::string *
string,
652 static int generate(std::string *
string,
657 static int generate(std::string *
string,
662 static int generate(std::string *
string,
667 static int generate(std::string *
string,
685#ifdef BSLS_LIBRARYFEATURES_HAS_CPP17_PMR_STRING
686 static int generate(std::pmr::string *
string,
688 static int generate(std::pmr::string *
string,
691 static int generate(std::pmr::string *
string,
693 static int generate(std::pmr::string *
string,
696 static int generate(std::pmr::string *
string,
698 static int generate(std::pmr::string *
string,
701 static int generate(std::pmr::string *
string,
703 static int generate(std::pmr::string *
string,
706 static int generate(std::pmr::string *
string,
708 static int generate(std::pmr::string *
string,
711 static int generate(std::pmr::string *
string,
720 static int generate(std::pmr::string *
string,
731 static bsl::ostream&
generate(bsl::ostream& stream,
733 static bsl::ostream&
generate(bsl::ostream& stream,
736 static bsl::ostream&
generate(bsl::ostream& stream,
738 static bsl::ostream&
generate(bsl::ostream& stream,
741 static bsl::ostream&
generate(bsl::ostream& stream,
743 static bsl::ostream&
generate(bsl::ostream& stream,
746 static bsl::ostream&
generate(bsl::ostream& stream,
748 static bsl::ostream&
generate(bsl::ostream& stream,
751 static bsl::ostream&
generate(bsl::ostream& stream,
753 static bsl::ostream&
generate(bsl::ostream& stream,
756 static bsl::ostream&
generate(bsl::ostream& stream,
758 static bsl::ostream&
generate(bsl::ostream& stream,
815 static int parse(
Date *result,
const char *
string,
int length);
836 static int parse(
Time *result,
const char *
string,
int length);
1201#ifdef BSLS_LIBRARYFEATURES_HAS_CPP17_PMR_STRING
1205 return generate(
string,
1213 return generate(
string,
1269 return stream.write(buffer, len);
1290 return stream.write(buffer, len);
1312 return stream.write(buffer, len);
1333 return stream.write(buffer, len);
1354 return stream.write(buffer, len);
1379 return stream.write(buffer, len);
1447 return parse(result,
string.data(),
static_cast<int>(
string.length()));
1455 return parse(result,
string.data(),
static_cast<int>(
string.length()));
1463 return parse(result,
string.data(),
static_cast<int>(
string.length()));
1471 return parse(result,
string.data(),
static_cast<int>(
string.length()));
1479 return parse(result,
string.data(),
static_cast<int>(
string.length()));
1487 return parse(result,
string.data(),
static_cast<int>(
string.length()));
Definition bdlt_datetz.h:162
Definition bdlt_date.h:294
Definition bdlt_datetimetz.h:308
Definition bdlt_datetime.h:331
Definition bdlt_fixutilconfiguration.h:206
static FixUtilConfiguration defaultConfiguration()
Definition bdlt_fixutilconfiguration.h:363
Definition bdlt_timetz.h:190
Definition bdlt_time.h:196
Definition bslstl_stringview.h:441
Definition bslstl_string.h:1281
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bbldc_basicisma30360.h:112
Definition bdlt_fixutil.h:545
static int generate(bsl::string *string, const Time &object, const FixUtilConfiguration &configuration)
static int generate(char *buffer, int bufferLength, const Time &object, const FixUtilConfiguration &configuration)
static int generate(char *buffer, int bufferLength, const DatetimeTz &object, const FixUtilConfiguration &configuration)
static int parse(Time *result, const char *string, int length)
static int generateRaw(char *buffer, const Date &object, const FixUtilConfiguration &configuration)
static int parse(Date *result, const char *string, int length)
static int generate(std::string *string, const Datetime &object, const FixUtilConfiguration &configuration)
@ k_DATETZ_STRLEN
Definition bdlt_fixutil.h:555
@ k_DATETIMETZ_STRLEN
Definition bdlt_fixutil.h:561
@ k_DATETIME_STRLEN
Definition bdlt_fixutil.h:560
@ k_TIME_STRLEN
Definition bdlt_fixutil.h:557
@ k_TIMETZ_STRLEN
Definition bdlt_fixutil.h:558
@ k_MAX_STRLEN
Definition bdlt_fixutil.h:563
@ k_DATE_STRLEN
Definition bdlt_fixutil.h:554
static int generate(std::string *string, const Date &object, const FixUtilConfiguration &configuration)
static int generateRaw(char *buffer, const Date &object)
Definition bdlt_fixutil.h:1383
static int generate(std::string *string, const DateTz &object, const FixUtilConfiguration &configuration)
static int generate(char *buffer, int bufferLength, const Datetime &object, const FixUtilConfiguration &configuration)
static int parse(DateTz *result, const char *string, int length)
static int generate(std::string *string, const TimeTz &object, const FixUtilConfiguration &configuration)
static int generate(std::string *string, const DatetimeTz &object, const FixUtilConfiguration &configuration)
static int generate(bsl::string *string, const Date &object, const FixUtilConfiguration &configuration)
static int parse(Datetime *result, const char *string, int length)
static int generateRaw(char *buffer, const Datetime &object, const FixUtilConfiguration &configuration)
static int generateRaw(char *buffer, const DatetimeTz &object, const FixUtilConfiguration &configuration)
static int generate(bsl::string *string, const TimeTz &object, const FixUtilConfiguration &configuration)
static int generate(bsl::string *string, const Datetime &object, const FixUtilConfiguration &configuration)
static int parse(DatetimeTz *result, const char *string, int length)
static int generate(bsl::string *string, const DateTz &object, const FixUtilConfiguration &configuration)
static int generate(char *buffer, int bufferLength, const Date &object)
Definition bdlt_fixutil.h:1032
static int parse(TimeTz *result, const char *string, int length)
static int generate(std::string *string, const Time &object, const FixUtilConfiguration &configuration)
static int generateRaw(char *buffer, const TimeTz &object, const FixUtilConfiguration &configuration)
static int generateRaw(char *buffer, const DateTz &object, const FixUtilConfiguration &configuration)
static int generateRaw(char *buffer, const Time &object, const FixUtilConfiguration &configuration)
static int generate(bsl::string *string, const DatetimeTz &object, const FixUtilConfiguration &configuration)
static int generate(char *buffer, int bufferLength, const Date &object, const FixUtilConfiguration &configuration)
static int generate(char *buffer, int bufferLength, const DateTz &object, const FixUtilConfiguration &configuration)
static int generate(char *buffer, int bufferLength, const TimeTz &object, const FixUtilConfiguration &configuration)