openMSX
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
openmsx::InputArchiveBase2 Class Reference

#include <serialize.hh>

Inheritance diagram for openmsx::InputArchiveBase2:
Inheritance graph
[legend]

Public Member Functions

void beginSection () const
 
void endSection () const
 
void * getPointer (unsigned id)
 
void addPointer (unsigned id, const void *p)
 
unsigned getId (const void *p) const
 
template<typename T >
void resetSharedPtr (std::shared_ptr< T > &s, T *r)
 

Static Public Attributes

static constexpr bool IS_LOADER = true
 

Protected Member Functions

 InputArchiveBase2 ()=default
 

Detailed Description

Definition at line 522 of file serialize.hh.

Constructor & Destructor Documentation

◆ InputArchiveBase2()

openmsx::InputArchiveBase2::InputArchiveBase2 ( )
protecteddefault

Member Function Documentation

◆ addPointer()

void openmsx::InputArchiveBase2::addPointer ( unsigned  id,
const void *  p 
)

◆ beginSection()

void openmsx::InputArchiveBase2::beginSection ( ) const
inline

Definition at line 527 of file serialize.hh.

References UNREACHABLE.

◆ endSection()

void openmsx::InputArchiveBase2::endSection ( ) const
inline

Definition at line 531 of file serialize.hh.

References UNREACHABLE.

◆ getId()

unsigned openmsx::InputArchiveBase2::getId ( const void *  p) const

Definition at line 129 of file serialize.cc.

References id.

Referenced by openmsx::InputArchiveBase< Derived >::serializeOnlyOnce().

◆ getPointer()

void * openmsx::InputArchiveBase2::getPointer ( unsigned  id)

Definition at line 117 of file serialize.cc.

References lookup().

◆ resetSharedPtr()

template<typename T >
void openmsx::InputArchiveBase2::resetSharedPtr ( std::shared_ptr< T > &  s,
T *  r 
)
inline

Member Data Documentation

◆ IS_LOADER

constexpr bool openmsx::InputArchiveBase2::IS_LOADER = true
staticconstexpr

Definition at line 525 of file serialize.hh.


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