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

#include <serialize_meta.hh>

Public Member Functions

template<typename T >
void registerClass (const char *name)
 

Static Public Member Functions

static PolymorphicLoaderRegistryinstance ()
 
static void * load (Archive &ar, unsigned id, const void *args)
 

Detailed Description

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

Definition at line 256 of file serialize_meta.hh.

Member Function Documentation

◆ instance()

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

◆ load()

template<typename Archive >
void * openmsx::PolymorphicLoaderRegistry< Archive >::load ( Archive &  ar,
unsigned  id,
const void *  args 
)
static

◆ registerClass()

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

Definition at line 261 of file serialize_meta.hh.

References openmsx::XMLLoader::load(), and make_unique().


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