|
template<typename U , typename S > |
constexpr std::enable_if_t< std::is_unsigned< U >::value &&std::is_signed< S >::value, U > | to_unsigned (S value) |
|
template<typename U1 , typename U2 > |
constexpr std::enable_if_t< std::is_unsigned< U1 >::value &&std::is_unsigned< U2 >::value, U1 > | to_unsigned (U2 value) |
|
static std::string | make_name (std::string const &object, std::string const &field) |
|
static Json::Value | not_an_object (std::string const &object, std::string const &field) |
|
static Json::Value | not_an_object (std::string const &object) |
|
static Json::Value | not_an_array (std::string const &object) |
|
static Json::Value | unknown_field (std::string const &object, std::string const &field) |
|
static Json::Value | out_of_range (std::string const &object, std::string const &field) |
|
static Json::Value | bad_type (std::string const &object, std::string const &field) |
|
static Json::Value | invalid_data (std::string const &object, std::string const &field) |
|
static Json::Value | invalid_data (std::string const &object) |
|
static Json::Value | array_expected (std::string const &object, std::string const &field) |
|
static Json::Value | string_expected (std::string const &object, std::string const &field) |
|
static Json::Value | too_deep (std::string const &object) |
|
static Json::Value | singleton_expected (std::string const &object, unsigned int index) |
|
static Json::Value | template_mismatch (SField const &sField) |
|
static Json::Value | non_object_in_array (std::string const &item, Json::UInt index) |
|
static std::optional< detail::STVar > | parseLeaf (std::string const &json_name, std::string const &fieldName, SField const *name, Json::Value const &value, Json::Value &error) |
|
static std::optional< detail::STVar > | parseArray (std::string const &json_name, Json::Value const &json, SField const &inName, int depth, Json::Value &error) |
|
static std::optional< STObject > | parseObject (std::string const &json_name, Json::Value const &json, SField const &inName, int depth, Json::Value &error) |
|