openMSX
|
#include <serialize.hh>
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 | |
Definition at line 522 of file serialize.hh.
|
protecteddefault |
void openmsx::InputArchiveBase2::addPointer | ( | unsigned | id, |
const void * | p | ||
) |
Definition at line 123 of file serialize.cc.
References hash_map< Key, Value, Hasher, Equal >::contains(), and hash_set< Value, Extractor, Hasher, Equal >::emplace_noDuplicateCheck().
|
inline |
Definition at line 527 of file serialize.hh.
References UNREACHABLE.
|
inline |
Definition at line 531 of file serialize.hh.
References UNREACHABLE.
unsigned openmsx::InputArchiveBase2::getId | ( | const void * | p | ) | const |
Definition at line 129 of file serialize.cc.
References id.
Referenced by openmsx::InputArchiveBase< Derived >::serializeOnlyOnce().
void * openmsx::InputArchiveBase2::getPointer | ( | unsigned | id | ) |
Definition at line 117 of file serialize.cc.
References lookup().
|
inline |
Definition at line 541 of file serialize.hh.
References hash_set< Value, Extractor, Hasher, Equal >::emplace_noDuplicateCheck(), end(), and hash_set< Value, Extractor, Hasher, Equal >::find().
|
staticconstexpr |
Definition at line 525 of file serialize.hh.
Referenced by openmsx::YMF278B::serialize_bw_compat().