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

#include <ImGuiPartInterface.hh>

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

Public Member Functions

constexpr PersistentElementMax (zstring_view name_, int C::*p_, 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 max
 
- Public Attributes inherited from openmsx::PersistentElementBase< C, int >
zstring_view name
 
int C::* p
 

Detailed Description

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

Definition at line 65 of file ImGuiPartInterface.hh.

Constructor & Destructor Documentation

◆ PersistentElementMax()

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

Definition at line 67 of file ImGuiPartInterface.hh.

Member Function Documentation

◆ load()

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

Member Data Documentation

◆ max

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

Definition at line 66 of file ImGuiPartInterface.hh.

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


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