The Battle for Wesnoth  1.19.5+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 522 of file callable_objects.cpp.

Member Function Documentation

◆ operator()() [1/7]

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

Definition at line 527 of file callable_objects.cpp.

References b.

◆ operator()() [2/7]

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

Definition at line 534 of file callable_objects.cpp.

References s.

◆ operator()() [3/7]

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

Definition at line 535 of file callable_objects.cpp.

References s.

◆ operator()() [4/7]

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

Definition at line 530 of file callable_objects.cpp.

References wfl::variant::DECIMAL_VARIANT, and i.

◆ operator()() [5/7]

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

Definition at line 528 of file callable_objects.cpp.

References i.

◆ operator()() [6/7]

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

Definition at line 529 of file callable_objects.cpp.

References i.

◆ operator()() [7/7]

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

Definition at line 536 of file callable_objects.cpp.


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