The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Private Attributes | List of all members
utils::string_map_variable_set< T > Class Template Reference
Inheritance diagram for utils::string_map_variable_set< T >:
Inheritance graph

Public Member Functions

 string_map_variable_set (const std::map< std::string, T > &map)
 
virtual config::attribute_value get_variable_const (const std::string &key) const
 
- Public Member Functions inherited from variable_set
virtual ~variable_set ()
 

Private Attributes

const std::map< std::string, T > & map_
 

Detailed Description

template<typename T>
class utils::string_map_variable_set< T >

Definition at line 37 of file string_utils.cpp.

Constructor & Destructor Documentation

◆ string_map_variable_set()

template<typename T>
utils::string_map_variable_set< T >::string_map_variable_set ( const std::map< std::string, T > &  map)
inline

Definition at line 40 of file string_utils.cpp.

Member Function Documentation

◆ get_variable_const()

template<typename T>
virtual config::attribute_value utils::string_map_variable_set< T >::get_variable_const ( const std::string &  key) const
inlinevirtual

Implements variable_set.

Definition at line 42 of file string_utils.cpp.

Member Data Documentation

◆ map_

template<typename T>
const std::map<std::string,T>& utils::string_map_variable_set< T >::map_
private

Definition at line 51 of file string_utils.cpp.


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