openMSX
Static Public Member Functions | List of all members
openmsx::serialize_as_pointer< std::shared_ptr< T > > Struct Template Reference

#include <serialize_core.hh>

Inheritance diagram for openmsx::serialize_as_pointer< std::shared_ptr< T > >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::serialize_as_pointer< std::shared_ptr< T > >:
Collaboration graph
[legend]

Static Public Member Functions

static T * getPointer (const std::shared_ptr< T > &t)
 
template<typename Archive >
static void setPointer (std::shared_ptr< T > &t, T *p, Archive &ar)
 

Additional Inherited Members

- Public Types inherited from openmsx::serialize_as_pointer_impl< T >
using type = T
 

Detailed Description

template<typename T>
struct openmsx::serialize_as_pointer< std::shared_ptr< T > >

Definition at line 273 of file serialize_core.hh.

Member Function Documentation

◆ getPointer()

template<typename T >
static T * openmsx::serialize_as_pointer< std::shared_ptr< T > >::getPointer ( const std::shared_ptr< T > &  t)
inlinestatic

Definition at line 276 of file serialize_core.hh.

References t.

◆ setPointer()

template<typename T >
template<typename Archive >
static void openmsx::serialize_as_pointer< std::shared_ptr< T > >::setPointer ( std::shared_ptr< T > &  t,
T *  p,
Archive &  ar 
)
inlinestatic

Definition at line 278 of file serialize_core.hh.

References t.


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