The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
schema_validator.cpp File Reference
#include "serialization/schema_validator.hpp"
#include "filesystem.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "serialization/preprocessor.hpp"
#include "wml_exception.hpp"
Include dependency graph for schema_validator.cpp:

Go to the source code of this file.

Namespaces

 schema_validation
 

Macros

#define ERR_VL   LOG_STREAM(err, log_validation)
 
#define WRN_VL   LOG_STREAM(warn, log_validation)
 
#define LOG_VL   LOG_STREAM(info, log_validation)
 

Functions

static std::string schema_validation::at (const std::string &file, int line)
 
static void schema_validation::print_output (const std::string &message, bool flag_exception=false)
 
static void schema_validation::extra_tag_error (const std::string &file, int line, const std::string &name, int n, const std::string &parent, bool flag_exception)
 
static void schema_validation::wrong_tag_error (const std::string &file, int line, const std::string &name, const std::string &parent, bool flag_exception)
 
static void schema_validation::missing_tag_error (const std::string &file, int line, const std::string &name, int n, const std::string &parent, bool flag_exception)
 
static void schema_validation::extra_key_error (const std::string &file, int line, const std::string &tag, const std::string &key, bool flag_exception)
 
static void schema_validation::missing_key_error (const std::string &file, int line, const std::string &tag, const std::string &key, bool flag_exception)
 
static void schema_validation::wrong_value_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &value, bool flag_exception)
 

Variables

static lg::log_domain schema_validation::log_validation ("validation")
 

Macro Definition Documentation

#define ERR_VL   LOG_STREAM(err, log_validation)
#define LOG_VL   LOG_STREAM(info, log_validation)
#define WRN_VL   LOG_STREAM(warn, log_validation)

Definition at line 29 of file schema_validator.cpp.