openMSX
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
[legend]

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 18 of file EnumSetting.hh.

Constructor & Destructor Documentation

◆ MapEntry()

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

Definition at line 20 of file EnumSetting.hh.

Member Data Documentation

◆ name

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

◆ value

int openmsx::EnumSettingBase::MapEntry::value

Definition at line 24 of file EnumSetting.hh.


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