Classes | |
class | wml_key |
wml_key is used to save the information about one key. More... | |
class | wml_tag |
Stores information about tag. More... | |
class | wml_condition |
Stores information about a conditional portion of a tag. More... | |
class | wml_type |
Stores information about a schema type. More... | |
class | wml_type_simple |
Stores information about a schema type. More... | |
class | wml_type_alias |
Stores information about a schema type. More... | |
class | wml_type_composite |
Stores information about a schema type. More... | |
class | wml_type_union |
Stores information about a schema type. More... | |
class | wml_type_intersection |
Stores information about a schema type. More... | |
class | wml_type_list |
Stores information about a schema type. More... | |
class | wml_type_tstring |
class | schema_validator |
Realization of serialization/validator.hpp abstract validator. More... | |
class | schema_self_validator |
Functions | |
static std::string | at (const std::string &file, int line) |
static void | print_output (const std::string &message, bool flag_exception=false) |
static std::string | extra_tag_error (const std::string &file, int line, const std::string &name, int n, const std::string &parent, bool flag_exception) |
static std::string | wrong_tag_error (const std::string &file, int line, const std::string &name, const std::string &parent, bool flag_exception) |
static std::string | missing_tag_error (const std::string &file, int line, const std::string &name, int n, const std::string &parent, bool flag_exception) |
static std::string | extra_key_error (const std::string &file, int line, const std::string &tag, const std::string &key, bool flag_exception) |
static std::string | missing_key_error (const std::string &file, int line, const std::string &tag, const std::string &key, bool flag_exception) |
static std::string | wrong_value_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &value, const std::string &expected, bool flag_exception) |
static void | wrong_path_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &value, bool flag_exception) |
static void | duplicate_tag_error (const std::string &file, int line, const std::string &tag, const std::string &pat, const std::string &value, bool flag_exception) |
static void | duplicate_key_error (const std::string &file, int line, const std::string &tag, const std::string &pat, const std::string &value, bool flag_exception) |
static void | inheritance_loop_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &value, int index, bool flag_exception) |
static void | wrong_type_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &type, bool flag_exception) |
Variables | |
wml_tag | any_tag ("", 0, -1, "", true) |
static lg::log_domain | log_validation ("validation") |
|
static |
Definition at line 34 of file schema_validator.cpp.
References draw::line(), and lineno_string().
Referenced by gui2::window::add_to_tab_order(), attack_info(), wb::move::calculate_new_route(), wb::move::check_validity(), duplicate_key_error(), duplicate_tag_error(), extra_key_error(), extra_tag_error(), find_attack(), inheritance_loop_error(), preferences::load_credentials(), missing_key_error(), missing_tag_error(), wb::recall::recall(), unit_weapons(), wb::manager::update_plan_hiding(), wrong_path_error(), wrong_tag_error(), wrong_type_error(), and wrong_value_error().
|
static |
Definition at line 167 of file schema_validator.cpp.
References at(), draw::line(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 155 of file schema_validator.cpp.
References at(), draw::line(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 95 of file schema_validator.cpp.
References at(), draw::line(), and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 58 of file schema_validator.cpp.
References at(), draw::line(), n, and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 179 of file schema_validator.cpp.
References at(), utf8::index(), draw::line(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 110 of file schema_validator.cpp.
References at(), draw::line(), and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 81 of file schema_validator.cpp.
References at(), draw::line(), n, and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 41 of file schema_validator.cpp.
References ERR_VL.
Referenced by duplicate_key_error(), duplicate_tag_error(), extra_key_error(), extra_tag_error(), inheritance_loop_error(), missing_key_error(), missing_tag_error(), wrong_path_error(), wrong_tag_error(), wrong_type_error(), and wrong_value_error().
|
static |
Definition at line 143 of file schema_validator.cpp.
References at(), draw::line(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 72 of file schema_validator.cpp.
References at(), draw::line(), and print_output().
Referenced by schema_validation::schema_validator::open_tag(), and schema_validation::schema_validator::print().
|
static |
Definition at line 192 of file schema_validator.cpp.
References at(), draw::line(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 125 of file schema_validator.cpp.
References at(), draw::line(), and print_output().
Referenced by schema_validation::schema_validator::print().
wml_tag schema_validation::any_tag("", 0, -1, "", true) | ( | "" | , |
0 | , | ||
- | 1, | ||
"" | , | ||
true | |||
) |
|
static |