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

#include <ImGuiPartInterface.hh>

Inheritance diagram for openmsx::PersistentElement< C, std::string >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::PersistentElement< C, std::string >:
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, std::string >
constexpr PersistentElementBase (zstring_view name_, std::string C::*p_)
 
std::string & get (C &c) const
 

Additional Inherited Members

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

Detailed Description

template<typename C>
struct openmsx::PersistentElement< C, std::string >

Definition at line 140 of file ImGuiPartInterface.hh.

Member Function Documentation

◆ load()

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

Definition at line 145 of file ImGuiPartInterface.hh.

References escape_newline::decode().

◆ save()

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

Definition at line 142 of file ImGuiPartInterface.hh.

References escape_newline::encode().


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