openMSX
Public Member Functions | List of all members
openmsx::PersistentElement< C, float > Struct Template Reference

#include <ImGuiPartInterface.hh>

Inheritance diagram for openmsx::PersistentElement< C, float >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::PersistentElement< C, float >:
Collaboration graph
[legend]

Public Member Functions

void save (ImGuiTextBuffer &buf, C &c) const
 
void load (C &c, zstring_view value) const
 
- Public Member Functions inherited from openmsx::PersistentElementBase< C, float >
constexpr PersistentElementBase (zstring_view name_, float C::*p_)
 
float & get (C &c) const
 

Additional Inherited Members

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

Detailed Description

template<typename C>
struct openmsx::PersistentElement< C, float >

Definition at line 129 of file ImGuiPartInterface.hh.

Member Function Documentation

◆ load()

template<typename C >
void openmsx::PersistentElement< C, float >::load ( C c,
zstring_view  value 
) const
inline

Definition at line 134 of file ImGuiPartInterface.hh.

References zstring_view::c_str().

◆ save()

template<typename C >
void openmsx::PersistentElement< C, float >::save ( ImGuiTextBuffer &  buf,
C c 
) const
inline

Definition at line 131 of file ImGuiPartInterface.hh.


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