The Battle for Wesnoth  1.15.3+dev
Static Public Member Functions | List of all members
ai::config_value_translator< boost::variant< bool, std::vector< std::string > > > Class Template Reference

#include <value_translator.hpp>

Static Public Member Functions

static boost::variant< bool, std::vector< std::string > > cfg_to_value (const config &cfg)
 
static void cfg_to_value (const config &cfg, boost::variant< bool, std::vector< std::string >> &value)
 
static void value_to_cfg (const boost::variant< bool, std::vector< std::string >> &value, config &cfg)
 
static config value_to_cfg (const boost::variant< bool, std::vector< std::string >> &value)
 

Detailed Description

template<>
class ai::config_value_translator< boost::variant< bool, std::vector< std::string > > >

Definition at line 130 of file value_translator.hpp.

Member Function Documentation

◆ cfg_to_value() [1/2]

static boost::variant<bool, std::vector<std::string> > ai::config_value_translator< boost::variant< bool, std::vector< std::string > > >::cfg_to_value ( const config cfg)
inlinestatic

Definition at line 133 of file value_translator.hpp.

References utils::split().

◆ cfg_to_value() [2/2]

static void ai::config_value_translator< boost::variant< bool, std::vector< std::string > > >::cfg_to_value ( const config cfg,
boost::variant< bool, std::vector< std::string >> &  value 
)
inlinestatic

◆ value_to_cfg() [1/2]

static void ai::config_value_translator< boost::variant< bool, std::vector< std::string > > >::value_to_cfg ( const boost::variant< bool, std::vector< std::string >> &  value,
config cfg 
)
inlinestatic

◆ value_to_cfg() [2/2]

static config ai::config_value_translator< boost::variant< bool, std::vector< std::string > > >::value_to_cfg ( const boost::variant< bool, std::vector< std::string >> &  value)
inlinestatic

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