The Battle for Wesnoth  1.19.0-dev
Static Public Member Functions | List of all members
ai::config_value_translator< std::vector< std::string > > Class Reference

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

Definition at line 163 of file value_translator.hpp.

Member Function Documentation

◆ cfg_to_value() [1/2]

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

Definition at line 166 of file value_translator.hpp.

References utils::split().

◆ cfg_to_value() [2/2]

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

◆ value_to_cfg() [1/2]

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

◆ value_to_cfg() [2/2]

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

Definition at line 176 of file value_translator.hpp.

References utils::join().


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