The Battle for Wesnoth  1.15.5+dev
Public Member Functions | List of all members
unit::upkeep_parser_visitor Class Reference

Visitor helper class to parse the upkeep value from a config. More...

#include <unit.hpp>

Inheritance diagram for unit::upkeep_parser_visitor:
Inheritance graph

Public Member Functions

template<typename N >
std::enable_if_t< std::is_arithmetic< N >::value, upkeep_toperator() (N n) const
 
template<typename B >
std::enable_if_t< std::is_convertible< B, bool >::value &&!std::is_arithmetic< B >::value, upkeep_toperator() (B b) const
 
upkeep_t operator() (boost::blank) const
 
upkeep_t operator() (const std::string &s) const
 

Detailed Description

Visitor helper class to parse the upkeep value from a config.

Definition at line 1179 of file unit.hpp.


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