Public Member Functions | Public Attributes | List of all members
openmsx::EnumSettingBase::MapEntry Struct Reference

#include <EnumSetting.hh>

Collaboration diagram for openmsx::EnumSettingBase::MapEntry:
Collaboration graph

Public Member Functions

template<typename Enum >
 MapEntry (std::string_view name_, Enum value_)

Public Attributes

std::string name
int value

Detailed Description

Definition at line 19 of file EnumSetting.hh.

Constructor & Destructor Documentation

◆ MapEntry()

template<typename Enum >
openmsx::EnumSettingBase::MapEntry::MapEntry ( std::string_view  name_,
Enum  value_ 

Definition at line 21 of file EnumSetting.hh.

Member Data Documentation

◆ name

std::string openmsx::EnumSettingBase::MapEntry::name

◆ value

int openmsx::EnumSettingBase::MapEntry::value

Definition at line 25 of file EnumSetting.hh.

Referenced by openmsx::EnumSettingBase::toStringBase().

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