openMSX
Classes | Public Member Functions | Static Public Member Functions | List of all members
openmsx::PolymorphicSaverRegistry< Archive > Class Template Reference

#include <serialize_meta.hh>

Public Member Functions

 PolymorphicSaverRegistry (const PolymorphicSaverRegistry &)=delete
 
 PolymorphicSaverRegistry (PolymorphicSaverRegistry &&)=delete
 
PolymorphicSaverRegistryoperator= (const PolymorphicSaverRegistry &)=delete
 
PolymorphicSaverRegistryoperator= (PolymorphicSaverRegistry &&)=delete
 
template<typename T >
void registerClass (const char *name)
 

Static Public Member Functions

static PolymorphicSaverRegistryinstance ()
 
template<typename T >
static void save (Archive &ar, T *t)
 
template<typename T >
static void save (const char *tag, Archive &ar, T &t)
 

Detailed Description

template<typename Archive>
class openmsx::PolymorphicSaverRegistry< Archive >

Definition at line 115 of file serialize_meta.hh.

Constructor & Destructor Documentation

◆ PolymorphicSaverRegistry() [1/2]

template<typename Archive >
openmsx::PolymorphicSaverRegistry< Archive >::PolymorphicSaverRegistry ( const PolymorphicSaverRegistry< Archive > &  )
delete

◆ PolymorphicSaverRegistry() [2/2]

template<typename Archive >
openmsx::PolymorphicSaverRegistry< Archive >::PolymorphicSaverRegistry ( PolymorphicSaverRegistry< Archive > &&  )
delete

Member Function Documentation

◆ instance()

template<typename Archive >
PolymorphicSaverRegistry< Archive > & openmsx::PolymorphicSaverRegistry< Archive >::instance ( )
static

◆ operator=() [1/2]

template<typename Archive >
PolymorphicSaverRegistry & openmsx::PolymorphicSaverRegistry< Archive >::operator= ( const PolymorphicSaverRegistry< Archive > &  )
delete

◆ operator=() [2/2]

template<typename Archive >
PolymorphicSaverRegistry & openmsx::PolymorphicSaverRegistry< Archive >::operator= ( PolymorphicSaverRegistry< Archive > &&  )
delete

◆ registerClass()

template<typename Archive >
template<typename T >
void openmsx::PolymorphicSaverRegistry< Archive >::registerClass ( const char *  name)
inline

Definition at line 125 of file serialize_meta.hh.

◆ save() [1/2]

template<typename Archive >
template<typename T >
static void openmsx::PolymorphicSaverRegistry< Archive >::save ( Archive &  ar,
T *  t 
)
inlinestatic

◆ save() [2/2]

template<typename Archive >
template<typename T >
static void openmsx::PolymorphicSaverRegistry< Archive >::save ( const char *  tag,
Archive &  ar,
T &  t 
)
inlinestatic

Definition at line 144 of file serialize_meta.hh.

References openmsx::PolymorphicSaverRegistry< Archive >::save(), and t.


The documentation for this class was generated from the following files: