The Battle for Wesnoth  1.17.0-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 25 of file type.cpp.

Constructor & Destructor Documentation

◆ is_translatable()

is_translatable::is_translatable ( bool  b)
inline

Definition at line 28 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
inline

Definition at line 29 of file type.cpp.

References empty.

◆ operator()() [2/4]

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

Definition at line 33 of file type.cpp.

◆ operator()() [3/4]

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

Definition at line 37 of file type.cpp.

◆ operator()() [4/4]

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

Definition at line 42 of file type.cpp.

Member Data Documentation

◆ empty

bool is_translatable::empty

Definition at line 27 of file type.cpp.

Referenced by operator()().


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