The Battle for Wesnoth  1.19.7+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) const
 
bool can_find (const wml_tag &root, const config &cfg) const
 
bool operator< (const reference &other) const
 

Public Attributes

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

Detailed Description

Definition at line 225 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 226 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 
) const

Definition at line 955 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) const

◆ operator<()

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

Definition at line 945 of file schema_validator.cpp.

References file_, and line_.

Member Data Documentation

◆ file_

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

◆ line_

int schema_validation::schema_self_validator::reference::line_

◆ tag_

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

◆ value_

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

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