openMSX
Public Member Functions | 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

bool isLoader () const
 
void beginSection ()
 
void endSection ()
 
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)
 

Protected Member Functions

 InputArchiveBase2 ()=default
 

Detailed Description

Definition at line 503 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 
)

Definition at line 119 of file serialize.cc.

◆ beginSection()

void openmsx::InputArchiveBase2::beginSection ( )
inline

Definition at line 508 of file serialize.hh.

References UNREACHABLE.

◆ endSection()

void openmsx::InputArchiveBase2::endSection ( )
inline

Definition at line 512 of file serialize.hh.

References UNREACHABLE.

◆ getId()

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

Definition at line 125 of file serialize.cc.

◆ getPointer()

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

Definition at line 113 of file serialize.cc.

References lookup().

◆ isLoader()

bool openmsx::InputArchiveBase2::isLoader ( ) const
inline

Definition at line 506 of file serialize.hh.

◆ resetSharedPtr()

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

Definition at line 522 of file serialize.hh.


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