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

Member Function Documentation

◆ operator()() [1/7]

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

Definition at line 474 of file callable_objects.cpp.

◆ operator()() [2/7]

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

Definition at line 475 of file callable_objects.cpp.

◆ operator()() [3/7]

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

Definition at line 476 of file callable_objects.cpp.

◆ operator()() [4/7]

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

Definition at line 477 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 481 of file callable_objects.cpp.

◆ operator()() [6/7]

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

Definition at line 482 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 483 of file callable_objects.cpp.


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