The Battle for Wesnoth  1.19.7+dev
Public Member Functions | List of all members
schema_validation::wml_type_tstring Class Reference

#include <type.hpp>

Inheritance diagram for schema_validation::wml_type_tstring:

Public Member Functions

 wml_type_tstring ()
 
bool matches (const config_attribute_value &value, const map &type_map) const override
 
- Public Member Functions inherited from schema_validation::wml_type
 wml_type ()=delete
 
 wml_type (const std::string &name)
 
virtual ~wml_type ()
 

Additional Inherited Members

- Public Types inherited from schema_validation::wml_type
using ptr = std::shared_ptr< wml_type >
 
using map = std::map< std::string, ptr >
 
- Static Public Member Functions inherited from schema_validation::wml_type
static std::shared_ptr< wml_typefrom_config (const config &cfg)
 
- Protected Attributes inherited from schema_validation::wml_type
std::string name_
 

Detailed Description

Definition at line 128 of file type.hpp.

Constructor & Destructor Documentation

◆ wml_type_tstring()

schema_validation::wml_type_tstring::wml_type_tstring ( )
inline

Definition at line 130 of file type.hpp.

Member Function Documentation

◆ matches()

bool schema_validation::wml_type_tstring::matches ( const config_attribute_value value,
const map type_map 
) const
overridevirtual

Implements schema_validation::wml_type.

Definition at line 142 of file type.cpp.

References config_attribute_value::apply_visitor().


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