The Battle for Wesnoth  1.17.14+dev
Public Member Functions | Public Attributes | List of all members
is_translatable Struct Reference

Public Member Functions

 is_translatable (bool b)
bool operator() (const std::string &str) const
bool operator() (const t_string &) const
bool operator() (const std::monostate &) const
template<typename T >
bool operator() (const T &) const

Public Attributes

bool empty

Detailed Description

Definition at line 26 of file type.cpp.

Constructor & Destructor Documentation

◆ is_translatable()

is_translatable::is_translatable ( bool  b)

Definition at line 29 of file type.cpp.

Referenced by schema_validation::wml_type_tstring::matches().

Member Function Documentation

◆ operator()() [1/4]

bool is_translatable::operator() ( const std::string &  str) const

Definition at line 30 of file type.cpp.

References empty.

◆ operator()() [2/4]

bool is_translatable::operator() ( const t_string ) const

Definition at line 34 of file type.cpp.

◆ operator()() [3/4]

bool is_translatable::operator() ( const std::monostate &  ) const

Definition at line 38 of file type.cpp.

◆ operator()() [4/4]

template<typename T >
bool is_translatable::operator() ( const T &  ) const

Definition at line 43 of file type.cpp.

Member Data Documentation

◆ empty

bool is_translatable::empty

Definition at line 28 of file type.cpp.

Referenced by operator()().

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