openMSX
Public Member Functions | Public Attributes | List of all members
openmsx::PersistentElementMinMax< C > Struct Template Reference

#include <ImGuiPartInterface.hh>

Inheritance diagram for openmsx::PersistentElementMinMax< C >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::PersistentElementMinMax< C >:
Collaboration graph
[legend]

Public Member Functions

constexpr PersistentElementMinMax (zstring_view name_, int C::*p_, int min_, int max_)
 
void load (C &c, std::string_view value) const
 
- Public Member Functions inherited from openmsx::PersistentElement< C, int >
void save (ImGuiTextBuffer &buf, C &c) const
 
void load (C &c, zstring_view value) const
 
- Public Member Functions inherited from openmsx::PersistentElementBase< C, int >
constexpr PersistentElementBase (zstring_view name_, int C::*p_)
 
int & get (C &c) const
 

Public Attributes

int min
 
int max
 
- Public Attributes inherited from openmsx::PersistentElementBase< C, int >
zstring_view name
 
int C::* p
 

Detailed Description

template<typename C>
struct openmsx::PersistentElementMinMax< C >

Definition at line 79 of file ImGuiPartInterface.hh.

Constructor & Destructor Documentation

◆ PersistentElementMinMax()

template<typename C >
constexpr openmsx::PersistentElementMinMax< C >::PersistentElementMinMax ( zstring_view  name_,
int C::*  p_,
int  min_,
int  max_ 
)
inlineconstexpr

Definition at line 81 of file ImGuiPartInterface.hh.

Member Function Documentation

◆ load()

template<typename C >
void openmsx::PersistentElementMinMax< C >::load ( C c,
std::string_view  value 
) const
inline

Member Data Documentation

◆ max

template<typename C >
int openmsx::PersistentElementMinMax< C >::max

Definition at line 80 of file ImGuiPartInterface.hh.

Referenced by openmsx::PersistentElementMinMax< C >::load().

◆ min

template<typename C >
int openmsx::PersistentElementMinMax< C >::min

Definition at line 80 of file ImGuiPartInterface.hh.

Referenced by openmsx::PersistentElementMinMax< C >::load().


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