|
template<typename C = CharType, enable_if_t< std::is_signed< C >::value and std::is_signed< char >::value > * = nullptr> |
static constexpr CharType | to_char_type (std::uint8_t x) noexcept |
|
template<typename C = CharType, enable_if_t< std::is_signed< C >::value and std::is_unsigned< char >::value > * = nullptr> |
static CharType | to_char_type (std::uint8_t x) noexcept |
|
template<typename C = CharType, enable_if_t< std::is_unsigned< C >::value > * = nullptr> |
static constexpr CharType | to_char_type (std::uint8_t x) noexcept |
|
template<typename InputCharType , typename C = CharType, enable_if_t< std::is_signed< C >::value andstd::is_signed< char >::value andstd::is_same< char, typename std::remove_cv< InputCharType >::type >::value > * = nullptr> |
static constexpr CharType | to_char_type (InputCharType x) noexcept |
|
|
void | write_bson_entry_header (const string_t &name, const std::uint8_t element_type) |
| Writes the given element_type and name to the output adapter.
|
|
void | write_bson_boolean (const string_t &name, const bool value) |
| Writes a BSON element with key name and boolean value value.
|
|
void | write_bson_double (const string_t &name, const double value) |
| Writes a BSON element with key name and double value value.
|
|
void | write_bson_string (const string_t &name, const string_t &value) |
| Writes a BSON element with key name and string value value.
|
|
void | write_bson_null (const string_t &name) |
| Writes a BSON element with key name and null value.
|
|
void | write_bson_integer (const string_t &name, const std::int64_t value) |
| Writes a BSON element with key name and integer value.
|
|
void | write_bson_unsigned (const string_t &name, const std::uint64_t value) |
| Writes a BSON element with key name and unsigned value.
|
|
void | write_bson_object_entry (const string_t &name, const typename BasicJsonType::object_t &value) |
| Writes a BSON element with key name and object value.
|
|
void | write_bson_array (const string_t &name, const typename BasicJsonType::array_t &value) |
| Writes a BSON element with key name and array value.
|
|
void | write_bson_element (const string_t &name, const BasicJsonType &j) |
| Serializes the JSON value j to BSON and associates it with the key name.
|
|
void | write_bson_object (const typename BasicJsonType::object_t &value) |
|
template<typename NumberType , typename std::enable_if< std::is_floating_point< NumberType >::value, int >::type = 0> |
void | write_number_with_ubjson_prefix (const NumberType n, const bool add_prefix) |
|
template<typename NumberType , typename std::enable_if< std::is_unsigned< NumberType >::value, int >::type = 0> |
void | write_number_with_ubjson_prefix (const NumberType n, const bool add_prefix) |
|
template<typename NumberType , typename std::enable_if< std::is_signed< NumberType >::value andnot std::is_floating_point< NumberType >::value, int >::type = 0> |
void | write_number_with_ubjson_prefix (const NumberType n, const bool add_prefix) |
|
CharType | ubjson_prefix (const BasicJsonType &j) const noexcept |
| determine the type prefix of container values
|
|
template<typename NumberType , bool OutputIsLittleEndian = false> |
void | write_number (const NumberType n) |
|
template<typename BasicJsonType, typename CharType>
class nlohmann::detail::binary_writer< BasicJsonType, CharType >
serialization to CBOR and MessagePack values
Definition at line 11318 of file json.hpp.
View newest version in sPHENIX GitHub at line 11318 of file json.hpp
template<typename BasicJsonType , typename CharType >
template<typename C = CharType, enable_if_t< std::is_signed< C >::value and std::is_signed< char >::value > * = nullptr>
template<typename BasicJsonType , typename CharType >
template<typename InputCharType , typename C = CharType, enable_if_t< std::is_signed< C >::value andstd::is_signed< char >::value andstd::is_same< char, typename std::remove_cv< InputCharType >::type >::value > * = nullptr>
template<typename BasicJsonType , typename CharType >
template<typename BasicJsonType , typename CharType >
template<typename NumberType , bool OutputIsLittleEndian = false>
template<typename BasicJsonType , typename CharType >
template<typename NumberType , typename std::enable_if< std::is_floating_point< NumberType >::value, int >::type = 0>
template<typename BasicJsonType , typename CharType >
template<typename NumberType , typename std::enable_if< std::is_unsigned< NumberType >::value, int >::type = 0>
template<typename BasicJsonType , typename CharType >
template<typename NumberType , typename std::enable_if< std::is_signed< NumberType >::value andnot std::is_floating_point< NumberType >::value, int >::type = 0>