The Battle for Wesnoth  1.15.0+dev
Public Member Functions | Public Attributes | List of all members
schema_validation::schema_self_validator::reference Struct Reference

Public Member Functions

 reference (const std::string &value, const std::string &file, int line, const std::string &tag)
 
bool match (const std::set< std::string > &with)
 
bool can_find (const wml_tag &root, const config &cfg)
 
bool operator< (const reference &other) const
 

Public Attributes

std::string value_
 
std::string file_
 
std::string tag_
 
int line_
 

Detailed Description

Definition at line 164 of file schema_validator.hpp.

Constructor & Destructor Documentation

◆ reference()

schema_validation::schema_self_validator::reference::reference ( const std::string &  value,
const std::string &  file,
int  line,
const std::string &  tag 
)
inline

Definition at line 165 of file schema_validator.hpp.

Member Function Documentation

◆ can_find()

bool schema_validation::schema_self_validator::reference::can_find ( const wml_tag root,
const config cfg 
)

Definition at line 545 of file schema_validator.cpp.

References schema_validation::wml_tag::find_tag().

◆ match()

bool schema_validation::schema_self_validator::reference::match ( const std::set< std::string > &  with)

◆ operator<()

bool schema_validation::schema_self_validator::reference::operator< ( const reference other) const

Definition at line 535 of file schema_validator.cpp.

References file_, and line_.

Member Data Documentation

◆ file_

std::string schema_validation::schema_self_validator::reference::file_

Definition at line 171 of file schema_validator.hpp.

Referenced by operator<().

◆ line_

int schema_validation::schema_self_validator::reference::line_

Definition at line 172 of file schema_validator.hpp.

Referenced by operator<().

◆ tag_

std::string schema_validation::schema_self_validator::reference::tag_

Definition at line 171 of file schema_validator.hpp.

◆ value_

std::string schema_validation::schema_self_validator::reference::value_

The documentation for this struct was generated from the following files: