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 std::string | inheritance_cycle_error (const std::string &file, int line, const std::string &tag, const std::string &schema_name, const std::string &value, bool flag_exception) |
| static std::string | link_cycle_error (const std::string &file, int line, const std::string &tag, const std::string &value, bool flag_exception) |
| static std::string | missing_super_error (const std::string &file, int line, const std::string &tag, const std::string &schema_name, const std::string &super, 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 37 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(), duplicate_key_error(), duplicate_tag_error(), extra_key_error(), extra_tag_error(), find_attack(), inheritance_cycle_error(), inheritance_loop_error(), link_cycle_error(), prefs::load_credentials(), missing_key_error(), missing_super_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 211 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 199 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 98 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 61 of file schema_validator.cpp.
References at(), draw::line(), n, and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 146 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 223 of file schema_validator.cpp.
References at(), utf8::index(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 160 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_validator::detect_link_cycles().
|
static |
Definition at line 113 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 173 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 84 of file schema_validator.cpp.
References at(), draw::line(), n, and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 44 of file schema_validator.cpp.
References ERR_VL.
Referenced by duplicate_key_error(), duplicate_tag_error(), extra_key_error(), extra_tag_error(), inheritance_cycle_error(), inheritance_loop_error(), link_cycle_error(), missing_key_error(), missing_super_error(), missing_tag_error(), wrong_path_error(), wrong_tag_error(), wrong_type_error(), and wrong_value_error().
|
static |
Definition at line 187 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 75 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 236 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 128 of file schema_validator.cpp.
References at(), draw::line(), print_output(), and markup::tag().
Referenced by schema_validation::schema_validator::print().
| wml_tag schema_validation::any_tag("", 0, -1, "", true) | ( | "" | , |
| 0 | , | ||
| - | 1, | ||
| "" | , | ||
| true | |||
| ) |
|
static |