The Battle for Wesnoth  1.15.12+dev
Public Member Functions | List of all members
wfl::fai_variant_visitor Struct Reference

Public Member Functions

variant operator() (bool b) const
 
variant operator() (int i) const
 
variant operator() (unsigned long long i) const
 
variant operator() (double i) const
 
variant operator() (const std::string &s) const
 
variant operator() (const t_string &s) const
 
variant operator() (utils::monostate) const
 

Detailed Description

Definition at line 451 of file callable_objects.cpp.

Member Function Documentation

◆ operator()() [1/7]

variant wfl::fai_variant_visitor::operator() ( bool  b) const
inline

Definition at line 456 of file callable_objects.cpp.

◆ operator()() [2/7]

variant wfl::fai_variant_visitor::operator() ( int  i) const
inline

Definition at line 457 of file callable_objects.cpp.

◆ operator()() [3/7]

variant wfl::fai_variant_visitor::operator() ( unsigned long long  i) const
inline

Definition at line 458 of file callable_objects.cpp.

◆ operator()() [4/7]

variant wfl::fai_variant_visitor::operator() ( double  i) const
inline

Definition at line 459 of file callable_objects.cpp.

References wfl::variant::DECIMAL_VARIANT.

◆ operator()() [5/7]

variant wfl::fai_variant_visitor::operator() ( const std::string &  s) const
inline

Definition at line 463 of file callable_objects.cpp.

◆ operator()() [6/7]

variant wfl::fai_variant_visitor::operator() ( const t_string s) const
inline

Definition at line 464 of file callable_objects.cpp.

References t_string::str().

◆ operator()() [7/7]

variant wfl::fai_variant_visitor::operator() ( utils::monostate  ) const
inline

Definition at line 465 of file callable_objects.cpp.


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