Classes | Public Types | Public Member Functions | List of all members
openmsx::UserSettings Class Reference

#include <UserSettings.hh>


struct  Info

Public Types

using Settings = std::vector< Info >

Public Member Functions

 UserSettings (CommandController &commandController)
void addSetting (Info &&info)
void deleteSetting (Setting &setting)
SettingfindSetting (std::string_view name) const
const SettingsgetSettingsInfo () const

Detailed Description

Definition at line 14 of file UserSettings.hh.

Member Typedef Documentation

◆ Settings

using openmsx::UserSettings::Settings = std::vector<Info>

Definition at line 21 of file UserSettings.hh.

Constructor & Destructor Documentation

◆ UserSettings()

openmsx::UserSettings::UserSettings ( CommandController commandController)

Definition at line 25 of file

Member Function Documentation

◆ addSetting()

void openmsx::UserSettings::addSetting ( Info &&  info)

Definition at line 30 of file

References findSetting().

◆ deleteSetting()

void openmsx::UserSettings::deleteSetting ( Setting setting)

Definition at line 36 of file

References move_pop_back(), and rfind_if_unguarded().

◆ findSetting()

Setting * openmsx::UserSettings::findSetting ( std::string_view  name) const

Definition at line 42 of file

References end(), and ranges::find_if().

Referenced by addSetting().

◆ getSettingsInfo()

const Settings& openmsx::UserSettings::getSettingsInfo ( ) const

Definition at line 28 of file UserSettings.hh.

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