The Battle for Wesnoth  1.15.12+dev
Classes | Public Member Functions | Private Attributes | List of all members
preferences::advanced_manager Class Reference

#include <advanced.hpp>

Classes

struct  option
 

Public Member Functions

 advanced_manager (const game_config_view &gc)
 
 ~advanced_manager ()
 
const std::vector< option > & get_preferences () const
 

Private Attributes

std::vector< optionprefs
 

Detailed Description

Definition at line 27 of file advanced.hpp.

Constructor & Destructor Documentation

◆ advanced_manager()

preferences::advanced_manager::advanced_manager ( const game_config_view gc)
explicit

Definition at line 29 of file advanced.cpp.

References game_config_view::child_range(), e, ERR_ADV, translation::icompare(), and sort().

◆ ~advanced_manager()

preferences::advanced_manager::~advanced_manager ( )

Definition at line 45 of file advanced.cpp.

Member Function Documentation

◆ get_preferences()

const std::vector<option>& preferences::advanced_manager::get_preferences ( ) const
inline

Definition at line 56 of file advanced.hpp.

References prefs.

Referenced by preferences::get_advanced_preferences().

Member Data Documentation

◆ prefs

std::vector<option> preferences::advanced_manager::prefs
private

Definition at line 62 of file advanced.hpp.

Referenced by get_preferences().


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