Public Member Functions | |
| logical_combination (json &sch, root_schema *root, const std::vector< nlohmann::json_uri > &uris) | |
| logical_combination (json &sch, root_schema *root, const std::vector< nlohmann::json_uri > &uris) | |
| Public Member Functions inherited from anonymous_namespace{json-validator.cpp}::schema | |
| virtual | ~schema ()=default |
| schema (root_schema *root) | |
| virtual const json & | default_value (const json::json_pointer &, const json &, error_handler &) const |
| void | set_default_value (const json &v) |
| virtual | ~schema ()=default |
| schema (root_schema *root) | |
| virtual const json & | default_value (const json::json_pointer &, const json &, error_handler &) const |
| void | set_default_value (const json &v) |
Private Member Functions | |
| void | validate (const json::json_pointer &ptr, const json &instance, json_patch &patch, error_handler &e) const final |
| void | validate (const json::json_pointer &ptr, const json &instance, json_patch &patch, error_handler &e) const final |
| bool | is_validate_complete (const json &, const json::json_pointer &, error_handler &e, const logical_combination_error_handler &esub, size_t, size_t current_schema_index) |
| bool | is_validate_complete (const json &, const json::json_pointer &, error_handler &, const logical_combination_error_handler &, size_t count, size_t) |
| bool | is_validate_complete (const json &instance, const json::json_pointer &ptr, error_handler &e, const logical_combination_error_handler &, size_t count, size_t) |
| const std::string | key |
| const std::string | key |
| const std::string | key |
| bool | is_validate_complete (const json &, const json::json_pointer &, error_handler &e, const logical_combination_error_handler &esub, size_t, size_t current_schema_index) |
| bool | is_validate_complete (const json &, const json::json_pointer &, error_handler &, const logical_combination_error_handler &, size_t count, size_t) |
| bool | is_validate_complete (const json &instance, const json::json_pointer &ptr, error_handler &e, const logical_combination_error_handler &, size_t count, size_t) |
Static Private Member Functions | |
| static bool | is_validate_complete (const json &, const json::json_pointer &, error_handler &, const logical_combination_error_handler &, size_t, size_t) |
| static bool | is_validate_complete (const json &, const json::json_pointer &, error_handler &, const logical_combination_error_handler &, size_t, size_t) |
Private Attributes | |
| std::vector< std::shared_ptr< schema > > | subschemata_ |
Static Private Attributes | |
| static const std::string | key |
Additional Inherited Members | |
| Static Public Member Functions inherited from anonymous_namespace{json-validator.cpp}::schema | |
| static std::shared_ptr< schema > | make (json &schema, root_schema *root, const std::vector< std::string > &key, std::vector< nlohmann::json_uri > uris) |
| static std::shared_ptr< schema > | make (json &schema, root_schema *root, const std::vector< std::string > &key, std::vector< nlohmann::json_uri > uris) |
| Protected Member Functions inherited from anonymous_namespace{json-validator.cpp}::schema | |
| virtual std::shared_ptr< schema > | make_for_default_ (std::shared_ptr<::schema > &, root_schema *, std::vector< nlohmann::json_uri > &, nlohmann::json &) const |
| virtual std::shared_ptr< schema > | make_for_default_ (std::shared_ptr<::schema > &, root_schema *, std::vector< nlohmann::json_uri > &, nlohmann::json &) const |
| Protected Attributes inherited from anonymous_namespace{json-validator.cpp}::schema | |
| root_schema * | root_ |
| json | default_value_ = nullptr |
Definition at line 455 of file json-validator.cpp.
|
inline |
Definition at line 491 of file json-validator.cpp.
References key, anonymous_namespace{json-validator.cpp}::schema::make(), and subschemata_.
|
inline |
Definition at line 491 of file json-validator.cpp.
|
private |
Definition at line 523 of file json-validator.cpp.
|
private |
Definition at line 523 of file json-validator.cpp.
|
staticprivate |
|
staticprivate |
|
private |
Definition at line 513 of file json-validator.cpp.
References nlohmann::json_schema::error_handler::error(), anonymous_namespace{json-validator.cpp}::logical_combination_error_handler::error_entry_list_, anonymous_namespace{json-validator.cpp}::logical_combination_error_handler::error_entry::instance_, anonymous_namespace{json-validator.cpp}::logical_combination_error_handler::error_entry::message_, anonymous_namespace{json-validator.cpp}::logical_combination_error_handler::propagate(), and anonymous_namespace{json-validator.cpp}::logical_combination_error_handler::error_entry::ptr_.
|
private |
|
private |
Definition at line 529 of file json-validator.cpp.
References nlohmann::json_schema::error_handler::error().
|
private |
|
private |
Definition at line 510 of file json-validator.cpp.
|
private |
Definition at line 508 of file json-validator.cpp.
|
private |
Definition at line 506 of file json-validator.cpp.
|
inlinefinalprivatevirtual |
Implements anonymous_namespace{json-validator.cpp}::schema.
Definition at line 459 of file json-validator.cpp.
References nlohmann::json_schema::error_handler::error(), nlohmann::json_patch::get_json(), is_validate_complete(), key, anonymous_namespace{json-validator.cpp}::logical_combination_error_handler::propagate(), subschemata_, and anonymous_namespace{json-validator.cpp}::schema::validate().
|
inlinefinalprivatevirtual |
Implements anonymous_namespace{json-validator.cpp}::schema.
Definition at line 459 of file json-validator.cpp.
|
staticprivate |
Definition at line 487 of file json-validator.cpp.
Referenced by logical_combination(), and validate().
|
private |
Definition at line 457 of file json-validator.cpp.
Referenced by logical_combination(), and validate().