|
Unravel Engine C++ Reference
|
#include "ser20/access.hpp"#include "ser20/ser20.hpp"#include "ser20/types/polymorphic.hpp"#include "ser20/types/vector.hpp"#include <hpp/source_location.hpp>#include <hpp/concepts.hpp>#include <functional>#include <string>#include <vector>#include <stack>#include <unordered_map>Go to the source code of this file.
Classes | |
| struct | serialization::init_data |
| struct | serialization::path_context |
| struct | serialization::path_segment_guard |
| struct | serialization::path_skip_segment_guard |
Namespaces | |
| namespace | serialization |
Macros | |
| #define | SERIALIZE_FUNCTION_NAME SER20_SERIALIZE_FUNCTION_NAME |
| #define | SAVE_FUNCTION_NAME SER20_SAVE_FUNCTION_NAME |
| #define | LOAD_FUNCTION_NAME SER20_LOAD_FUNCTION_NAME |
| #define | SAVE_MINIMAL_FUNCTION_NAME SER20_SAVE_MINIMAL_FUNCTION_NAME |
| #define | LOAD_MINIMAL_FUNCTION_NAME SER20_LOAD_MINIMAL_FUNCTION_NAME |
| #define | SERIALIZE_REGISTER_TYPE_WITH_NAME(T, Name) |
| #define | SERIALIZABLE(T) |
| #define | SERIALIZE_INLINE(cls) |
| #define | SAVE_INLINE(cls) |
| #define | LOAD_INLINE(cls) |
| #define | SERIALIZE_EXTERN(cls) |
| #define | SAVE_EXTERN(cls) |
| #define | LOAD_EXTERN(cls) |
| #define | SERIALIZE(cls) |
| #define | SAVE(cls) |
| #define | LOAD(cls) |
| #define | SERIALIZE_INSTANTIATE(cls, Archive) |
| #define | SAVE_INSTANTIATE(cls, Archive) |
| #define | LOAD_INSTANTIATE(cls, Archive) |
Typedefs | |
| using | serialization::log_callback_t = std::function<void(const std::string&, const hpp::source_location& loc)> |
Functions | |
| void | serialization::log_warning (const std::string &log_msg, const hpp::source_location &loc) |
| void | serialization::init (const init_data &data) |
| auto | serialization::get_path_context () -> path_context * |
| void | serialization::set_path_context (path_context *ctx) |
| auto | serialization::get_current_deserialization_path () -> std::string |
| template<typename Archive > | |
| constexpr auto | is_binary_archive () -> bool |
| template<typename Archive > | |
| constexpr auto | is_loading_archive () -> bool |
| template<typename Archive , typename T > | |
| auto | try_serialize_sequence_container (Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool |
| template<typename Archive , typename T > | |
| auto | try_serialize_direct (Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool |
| template<typename F > | |
| auto | serialize_check (const std::string &name, F &&serialize_callback) -> bool |
| template<typename Archive , typename T > | |
| auto | try_serialize (Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool |
| template<typename Archive , typename T > | |
| auto | try_save (Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool |
| template<typename Archive , typename T > | |
| auto | try_load (Archive &ar, ser20::NameValuePair< T > &&t, const hpp::source_location &loc=hpp::source_location::current()) -> bool |
| template<typename Archive , typename F > | |
| auto | try_serialize (Archive &ar, const char *name, F &&serialize_callback, const hpp::source_location &loc=hpp::source_location::current()) -> bool |
| template<typename Archive , typename F > | |
| auto | try_load (Archive &ar, const char *name, F &&load_callback, const hpp::source_location &loc=hpp::source_location::current()) -> bool |
| template<typename Archive , typename F > | |
| auto | try_save (Archive &ar, const char *name, F &&save_callback, const hpp::source_location &loc=hpp::source_location::current()) -> bool |
| #define LOAD | ( | cls | ) |
Definition at line 142 of file serialization.h.
| #define LOAD_EXTERN | ( | cls | ) |
Definition at line 130 of file serialization.h.
| #define LOAD_FUNCTION_NAME SER20_LOAD_FUNCTION_NAME |
Definition at line 17 of file serialization.h.
| #define LOAD_INLINE | ( | cls | ) |
Definition at line 118 of file serialization.h.
| #define LOAD_INSTANTIATE | ( | cls, | |
| Archive ) |
Definition at line 150 of file serialization.h.
| #define LOAD_MINIMAL_FUNCTION_NAME SER20_LOAD_MINIMAL_FUNCTION_NAME |
Definition at line 19 of file serialization.h.
| #define SAVE | ( | cls | ) |
Definition at line 138 of file serialization.h.
| #define SAVE_EXTERN | ( | cls | ) |
Definition at line 126 of file serialization.h.
| #define SAVE_FUNCTION_NAME SER20_SAVE_FUNCTION_NAME |
Definition at line 16 of file serialization.h.
| #define SAVE_INLINE | ( | cls | ) |
Definition at line 114 of file serialization.h.
| #define SAVE_INSTANTIATE | ( | cls, | |
| Archive ) |
Definition at line 148 of file serialization.h.
| #define SAVE_MINIMAL_FUNCTION_NAME SER20_SAVE_MINIMAL_FUNCTION_NAME |
Definition at line 18 of file serialization.h.
| #define SERIALIZABLE | ( | T | ) |
Definition at line 101 of file serialization.h.
| #define SERIALIZE | ( | cls | ) |
Definition at line 134 of file serialization.h.
| #define SERIALIZE_EXTERN | ( | cls | ) |
Definition at line 122 of file serialization.h.
| #define SERIALIZE_FUNCTION_NAME SER20_SERIALIZE_FUNCTION_NAME |
Definition at line 15 of file serialization.h.
| #define SERIALIZE_INLINE | ( | cls | ) |
Definition at line 110 of file serialization.h.
| #define SERIALIZE_INSTANTIATE | ( | cls, | |
| Archive ) |
Definition at line 146 of file serialization.h.
| #define SERIALIZE_REGISTER_TYPE_WITH_NAME | ( | T, | |
| Name ) |
Definition at line 20 of file serialization.h.
|
inlineconstexpr |
Definition at line 153 of file serialization.h.
|
inlineconstexpr |
Definition at line 160 of file serialization.h.
|
inline |
Definition at line 243 of file serialization.h.
|
inline |
Definition at line 305 of file serialization.h.
|
inline |
Definition at line 283 of file serialization.h.
|
inline |
Definition at line 314 of file serialization.h.
|
inline |
Definition at line 275 of file serialization.h.
|
inline |
Definition at line 292 of file serialization.h.
|
inline |
Definition at line 261 of file serialization.h.
|
inline |
Definition at line 172 of file serialization.h.
|
inline |