Metall  v0.28
A persistent memory allocator for data-centric analytics
metall::json::jsndtl Namespace Reference

Functions

template<typename allocator_type , typename other_array_type >
bool general_array_equal (const array< allocator_type > &array, const other_array_type &other_array) noexcept
 Provides 'equal' calculation for other array types that have the same interface as the array class. More...
 
template<typename char_type , typename char_traits , typename allocator_type , typename other_key_value_pair_type >
bool general_key_value_pair_equal (const key_value_pair< char_type, char_traits, allocator_type > &key_value, const other_key_value_pair_type &other_key_value) noexcept
 Provides 'equal' calculation for other key-value types that have the same interface as the object class. More...
 
template<typename allocator_type , typename other_object_type >
bool general_object_equal (const object< allocator_type > &object, const other_object_type &other_object) noexcept
 Provides 'equal' calculation for other object types that have the same interface as the object class. More...
 
template<typename allocator_type , int indent_size>
void pretty_print_impl (std::ostream &os, const value< allocator_type > &jv, const std::string &indent)
 
template<typename char_t , typename traits , typename allocator , typename other_string_type >
bool general_string_equal (const basic_string< char_t, traits, allocator > &string, const other_string_type &other_string) noexcept
 
template<typename allocator_type , typename other_value_type >
bool general_value_equal (const value< allocator_type > &value, const other_value_type &other_value) noexcept
 Provides 'equal' calculation for other value types that have the same interface as the value class. More...
 
template<typename allocator_type >
value< allocator_type > value_from_impl (const bj::value &input_bj_value, allocator_type allocator=allocator_type())
 
template<typename allocator_type >
value< allocator_type > value_from_impl (bj::value &&input_bj_value, allocator_type allocator=allocator_type())
 
template<typename allocator_type >
void value_to_impl_helper (const mj::value< allocator_type > &input_value, bj::value *out_bj_value)
 
template<typename allocator_type >
bj::value value_to_impl (const mj::value< allocator_type > &input_value)
 

Function Documentation

◆ general_array_equal()

template<typename allocator_type , typename other_array_type >
bool metall::json::jsndtl::general_array_equal ( const array< allocator_type > &  array,
const other_array_type &  other_array 
)
inlinenoexcept

Provides 'equal' calculation for other array types that have the same interface as the array class.

◆ general_key_value_pair_equal()

template<typename char_type , typename char_traits , typename allocator_type , typename other_key_value_pair_type >
bool metall::json::jsndtl::general_key_value_pair_equal ( const key_value_pair< char_type, char_traits, allocator_type > &  key_value,
const other_key_value_pair_type &  other_key_value 
)
inlinenoexcept

Provides 'equal' calculation for other key-value types that have the same interface as the object class.

◆ general_object_equal()

template<typename allocator_type , typename other_object_type >
bool metall::json::jsndtl::general_object_equal ( const object< allocator_type > &  object,
const other_object_type &  other_object 
)
inlinenoexcept

Provides 'equal' calculation for other object types that have the same interface as the object class.

◆ pretty_print_impl()

template<typename allocator_type , int indent_size>
void metall::json::jsndtl::pretty_print_impl ( std::ostream &  os,
const value< allocator_type > &  jv,
const std::string &  indent 
)
inline

◆ general_string_equal()

template<typename char_t , typename traits , typename allocator , typename other_string_type >
bool metall::json::jsndtl::general_string_equal ( const basic_string< char_t, traits, allocator > &  string,
const other_string_type &  other_string 
)
inlinenoexcept

◆ general_value_equal()

template<typename allocator_type , typename other_value_type >
bool metall::json::jsndtl::general_value_equal ( const value< allocator_type > &  value,
const other_value_type &  other_value 
)
inlinenoexcept

Provides 'equal' calculation for other value types that have the same interface as the value class.

◆ value_from_impl() [1/2]

template<typename allocator_type >
value<allocator_type> metall::json::jsndtl::value_from_impl ( const bj::value &  input_bj_value,
allocator_type  allocator = allocator_type() 
)
inline

◆ value_from_impl() [2/2]

template<typename allocator_type >
value<allocator_type> metall::json::jsndtl::value_from_impl ( bj::value &&  input_bj_value,
allocator_type  allocator = allocator_type() 
)
inline

◆ value_to_impl_helper()

template<typename allocator_type >
void metall::json::jsndtl::value_to_impl_helper ( const mj::value< allocator_type > &  input_value,
bj::value *  out_bj_value 
)
inline

◆ value_to_impl()

template<typename allocator_type >
bj::value metall::json::jsndtl::value_to_impl ( const mj::value< allocator_type > &  input_value)
inline