printValue overloads
Declared in <baljsn_printutil.h>
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bdldfp::Decimal64 value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bool value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
char value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
double value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
float value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
int value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
long value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
long long value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
short value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
signed char value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
unsigned char value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
unsigned int value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
unsigned long value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
unsigned long long value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
unsigned short value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bdlt::Date const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
DateOrDateTz const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bdlt::DateTz const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bdlt::Datetime const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bdlt::DatetimeInterval const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
DatetimeOrDatetimeTz const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bdlt::DatetimeTz const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bdlt::Time const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
TimeOrTimeTz const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
bdlt::TimeTz const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
std::string_view const& value,
EncoderOptions const* options = 0);
» more...
Encode the specified value into JSON format and output the result to the specified stream using the optionally specified options. Return 0 on success and a non-zero value otherwise.
static
int
printValue(
std::ostream& stream,
char const* value,
EncoderOptions const* options = 0);
» more...