|
| MemInputArchive (const uint8_t *data, size_t size, std::span< const std::shared_ptr< DeltaBlock > > deltaBlocks_) |
|
bool | versionAtLeast (unsigned, unsigned) const |
|
bool | versionBelow (unsigned, unsigned) const |
|
template<typename T > |
void | load (T &t) |
|
void | loadChar (char &c) |
|
void | load (std::string &s) |
|
std::string_view | loadStr () |
|
void | serialize_blob (const char *tag, std::span< uint8_t > data, bool diff=true) |
|
template<typename T , typename ... Args> |
ALWAYS_INLINE void | serialize (const char *tag, T &t, Args &&...args) |
|
template<typename T , size_t N>
requires (SerializeAsMemcpy<T>::value) |
ALWAYS_INLINE void | serialize (const char *, std::array< T, N > &t) |
|
void | skipSection (bool skip) |
|
void | serializeWithID (const char *tag, T &t, Args... args) |
|
void | serialize_blob (const char *tag, std::span< uint8_t > data, bool diff=true) |
|
void | serialize (const char *tag, T &t) |
|
void | serializePointerID (const char *tag, const T &t) |
|
void | serializePolymorphic (const char *tag, T &t) |
|
void | serializeOnlyOnce (const char *tag, const T &t) |
|
void | serializeChar (const char *tag, char &c) |
|
void | doSerialize (const char *tag, T &t, TUPLE args, int id=0) |
|
void | serializeBase (T &t) |
| Is this archive a loader or a saver. More...
|
|
void | serializeInlinedBase (T &t, unsigned version) |
| Serialize the base class of this classtype. More...
|
|
void | serialize_blob (const char *tag, std::span< T > data, bool diff=true) |
|
void | serialize_blob (const char *tag, std::span< const T > data, bool diff=true) |
|
bool | isReverseSnapshot () const |
| Is this a reverse-snapshot? More...
|
|
void | attribute (const char *name, T &t) |
| Load/store an attribute from/in the archive. More...
|
|
void | attribute (const char *name, const char *value) |
|
bool | hasAttribute (const char *) |
| Check the presence of a (optional) attribute. More...
|
|
std::optional< T > | findAttributeAs (const char *) |
| Optimization: combination of hasAttribute() and getAttribute(). More...
|
|
int | countChildren () const |
| Count the number of child tags. More...
|
|
void | beginTag (const char *) |
| Indicate begin of a tag. More...
|
|
void | endTag (const char *) |
| Indicate begin of a tag. More...
|
|
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) |
|
Definition at line 766 of file serialize.hh.