#include "ser20/access.hpp"
#include "ser20/ser20.hpp"
#include "ser20/types/polymorphic.hpp"
#include "ser20/types/vector.hpp"
#include <hpp/source_location.hpp>
#include <functional>
#include <string>
#include <vector>
#include <stack>
Go to the source code of this file.
|
void | serialization::set_warning_logger (const log_callback_t &logger) |
|
void | serialization::log_warning (const std::string &log_msg, const hpp::source_location &loc) |
|
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 , 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 |
|
◆ LOAD
Value: template<typename Archive> \
#define LOAD_FUNCTION_NAME
Definition at line 118 of file serialization.h.
◆ LOAD_EXTERN
#define LOAD_EXTERN |
( |
| cls | ) |
|
◆ LOAD_FUNCTION_NAME
#define LOAD_FUNCTION_NAME SER20_LOAD_FUNCTION_NAME |
◆ LOAD_INLINE
#define LOAD_INLINE |
( |
| cls | ) |
|
◆ LOAD_INSTANTIATE
#define LOAD_INSTANTIATE |
( |
| cls, |
|
|
| Archive ) |
◆ LOAD_MINIMAL_FUNCTION_NAME
#define LOAD_MINIMAL_FUNCTION_NAME SER20_LOAD_MINIMAL_FUNCTION_NAME |
◆ SAVE
Value: template<typename Archive> \
#define SAVE_FUNCTION_NAME
Definition at line 114 of file serialization.h.
◆ SAVE_EXTERN
#define SAVE_EXTERN |
( |
| cls | ) |
|
◆ SAVE_FUNCTION_NAME
#define SAVE_FUNCTION_NAME SER20_SAVE_FUNCTION_NAME |
◆ SAVE_INLINE
#define SAVE_INLINE |
( |
| cls | ) |
|
◆ SAVE_INSTANTIATE
#define SAVE_INSTANTIATE |
( |
| cls, |
|
|
| Archive ) |
◆ SAVE_MINIMAL_FUNCTION_NAME
#define SAVE_MINIMAL_FUNCTION_NAME SER20_SAVE_MINIMAL_FUNCTION_NAME |
◆ SERIALIZABLE
#define SERIALIZABLE |
( |
| T | ) |
|
Value: \
public: \
friend class serialization::access; \
template<typename Archive> \
template<typename Archive> \
Definition at line 77 of file serialization.h.
◆ SERIALIZE
Value: template<typename Archive> \
#define SERIALIZE_FUNCTION_NAME
Definition at line 110 of file serialization.h.
◆ SERIALIZE_EXTERN
#define SERIALIZE_EXTERN |
( |
| cls | ) |
|
◆ SERIALIZE_FUNCTION_NAME
#define SERIALIZE_FUNCTION_NAME SER20_SERIALIZE_FUNCTION_NAME |
◆ SERIALIZE_INLINE
#define SERIALIZE_INLINE |
( |
| cls | ) |
|
◆ SERIALIZE_INSTANTIATE
#define SERIALIZE_INSTANTIATE |
( |
| cls, |
|
|
| Archive ) |
◆ SERIALIZE_REGISTER_TYPE_WITH_NAME
#define SERIALIZE_REGISTER_TYPE_WITH_NAME |
( |
| T, |
|
|
| Name ) |
Value:SER20_REGISTER_TYPE_WITH_NAME(T, Name)
Definition at line 18 of file serialization.h.
◆ is_binary_archive()
template<typename Archive >
auto is_binary_archive |
( |
| ) |
-> bool
|
|
inlineconstexpr |
◆ serialize_check()
template<typename F >
auto serialize_check |
( |
const std::string & | name, |
|
|
F && | serialize_callback ) -> bool
|
|
inline |
◆ try_load()
template<typename Archive , typename T >
auto try_load |
( |
Archive & | ar, |
|
|
ser20::NameValuePair< T > && | t, |
|
|
const hpp::source_location & | loc = hpp::source_location::current() ) -> bool
|
|
inline |
◆ try_save()
template<typename Archive , typename T >
auto try_save |
( |
Archive & | ar, |
|
|
ser20::NameValuePair< T > && | t, |
|
|
const hpp::source_location & | loc = hpp::source_location::current() ) -> bool
|
|
inline |
◆ try_serialize()
template<typename Archive , typename T >
auto try_serialize |
( |
Archive & | ar, |
|
|
ser20::NameValuePair< T > && | t, |
|
|
const hpp::source_location & | loc = hpp::source_location::current() ) -> bool
|
|
inline |
◆ try_serialize_direct()
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
|
|
inline |