The Battle for Wesnoth  1.19.5+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 utils::monostate &) const
 
template<typename T >
bool operator() (const T &) const
 

Public Attributes

bool empty
 

Detailed Description

Definition at line 27 of file type.cpp.

Constructor & Destructor Documentation

◆ is_translatable()

is_translatable::is_translatable ( bool  b)
inline

Definition at line 30 of file type.cpp.

Member Function Documentation

◆ operator()() [1/4]

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

Definition at line 31 of file type.cpp.

References empty.

◆ operator()() [2/4]

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

Definition at line 44 of file type.cpp.

◆ operator()() [3/4]

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

Definition at line 35 of file type.cpp.

◆ operator()() [4/4]

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

Definition at line 39 of file type.cpp.

Member Data Documentation

◆ empty

bool is_translatable::empty

Definition at line 29 of file type.cpp.

Referenced by operator()().


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