Unravel Engine C++ Reference
Loading...
Searching...
No Matches
ser20 Namespace Reference

Namespaces

namespace  variant_detail
 

Classes

struct  basic_handle_link
 
struct  const_entity_handle_link
 
struct  entity_handle_link
 
class  membuf
 
class  YAMLInputArchive
 
class  YAMLOutputArchive
 

Typedefs

using oarchive_associative_t = simd::JSONOutputArchive
 
using iarchive_associative_t = simd::JSONInputArchive
 
using oarchive_binary_t = BinaryOutputArchive
 
using iarchive_binary_t = BinaryInputArchive
 

Functions

template<class T >
void prologue (YAMLOutputArchive &, NameValuePair< T > const &)
 Prologue for NVPs for YAML archives.
 
template<class T >
void prologue (YAMLInputArchive &, NameValuePair< T > const &)
 Prologue for NVPs for YAML archives.
 
template<class T >
void epilogue (YAMLOutputArchive &, NameValuePair< T > const &)
 Epilogue for NVPs for YAML archives.
 
template<class T >
void epilogue (YAMLInputArchive &, NameValuePair< T > const &)
 Epilogue for NVPs for YAML archives.
 
template<class T >
void prologue (YAMLOutputArchive &ar, SizeTag< T > const &)
 Prologue for SizeTags for YAML archives.
 
template<class T >
void prologue (YAMLInputArchive &, SizeTag< T > const &)
 Prologue for SizeTags for YAML archives.
 
template<class T >
void epilogue (YAMLOutputArchive &, SizeTag< T > const &)
 Epilogue for SizeTags for YAML archives.
 
template<class T >
void epilogue (YAMLInputArchive &, SizeTag< T > const &)
 Epilogue for SizeTags for YAML archives.
 
template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_output_serialization, YAMLOutputArchive>::value && !traits::has_minimal_output_serialization<T, YAMLOutputArchive>::value)
void prologue (YAMLOutputArchive &ar, T const &)
 Prologue for all other types for YAML archives (except minimal types)
 
template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_input_serialization, YAMLInputArchive>::value && !traits::has_minimal_input_serialization<T, YAMLInputArchive>::value)
void prologue (YAMLInputArchive &ar, T const &)
 Prologue for all other types for YAML archives.
 
template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_output_serialization, YAMLOutputArchive>::value && !traits::has_minimal_output_serialization<T, YAMLOutputArchive>::value)
void epilogue (YAMLOutputArchive &ar, T const &)
 Epilogue for all other types other for YAML archives (except minimal types)
 
template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_input_serialization, YAMLInputArchive>::value && !traits::has_minimal_input_serialization<T, YAMLInputArchive>::value)
void epilogue (YAMLInputArchive &ar, T const &)
 Epilogue for all other types other for YAML archives.
 
void prologue (YAMLOutputArchive &ar, std::nullptr_t const &)
 Prologue for arithmetic types for YAML archives.
 
void prologue (YAMLInputArchive &, std::nullptr_t const &)
 Prologue for arithmetic types for YAML archives.
 
void epilogue (YAMLOutputArchive &, std::nullptr_t const &)
 Epilogue for arithmetic types for YAML archives.
 
void epilogue (YAMLInputArchive &, std::nullptr_t const &)
 Epilogue for arithmetic types for YAML archives.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void prologue (YAMLOutputArchive &ar, T const &)
 Prologue for arithmetic types for YAML archives.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void prologue (YAMLInputArchive &, T const &)
 Prologue for arithmetic types for YAML archives.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void epilogue (YAMLOutputArchive &, T const &)
 Epilogue for arithmetic types for YAML archives.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void epilogue (YAMLInputArchive &, T const &)
 Epilogue for arithmetic types for YAML archives.
 
template<class CharT , class Traits , class Alloc >
void prologue (YAMLOutputArchive &ar, std::basic_string< CharT, Traits, Alloc > const &)
 Prologue for strings for YAML archives.
 
template<class CharT , class Traits , class Alloc >
void prologue (YAMLInputArchive &, std::basic_string< CharT, Traits, Alloc > const &)
 Prologue for strings for YAML archives.
 
template<class CharT , class Traits , class Alloc >
void epilogue (YAMLOutputArchive &, std::basic_string< CharT, Traits, Alloc > const &)
 Epilogue for strings for YAML archives.
 
template<class CharT , class Traits , class Alloc >
void epilogue (YAMLInputArchive &, std::basic_string< CharT, Traits, Alloc > const &)
 Epilogue for strings for YAML archives.
 
template<class T >
void SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &ar, NameValuePair< T > const &t)
 Serializing NVP types to YAML.
 
template<class T >
void SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, NameValuePair< T > &t)
 
void SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &ar, std::nullptr_t const &t)
 Saving for nullptr to YAML.
 
void SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, std::nullptr_t &t)
 Loading arithmetic from YAML.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &ar, T const &t)
 Saving for arithmetic to YAML.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, T &t)
 Loading arithmetic from YAML.
 
template<class CharT , class Traits , class Alloc >
void SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &ar, std::basic_string< CharT, Traits, Alloc > const &str)
 saving string to YAML
 
template<class CharT , class Traits , class Alloc >
void SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, std::basic_string< CharT, Traits, Alloc > &str)
 loading string from YAML
 
template<class T >
void SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &, SizeTag< T > const &)
 Saving SizeTags to YAML.
 
template<class T >
void SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, SizeTag< T > &st)
 Loading SizeTags from YAML.
 
auto create_oarchive_associative (std::ostream &stream)
 
auto create_iarchive_associative (std::istream &stream)
 
auto create_iarchive_associative (const uint8_t *buf, size_t len)
 
auto create_iarchive_associative (const char *buf, size_t len)
 
template<class Archive , class T >
std::enable_if_t< traits::is_same_archive_v< Archive, JSONInputArchive >||traits::is_same_archive_v< Archive, XMLInputArchive >||traits::is_same_archive_v< Archive, YAMLInputArchive >, bool > make_optional_nvp (Archive &ar, const char *name, T &&value)
 
template<class Archive , class T >
void make_optional_nvp (OutputArchive< Archive > &ar, const char *name, T &&value)
 
template<class Archive , class T , class Predicate >
void make_optional_nvp (OutputArchive< Archive > &ar, const char *name, T &&value, Predicate predicate)
 
template<class Archive , class T , class Predicate >
std::enable_if_t< traits::is_same_archive_v< Archive, JSONInputArchive >||traits::is_same_archive_v< Archive, XMLInputArchive >||traits::is_same_archive_v< Archive, YAMLInputArchive >, bool > make_optional_nvp (Archive &ar, const char *name, T &&value, Predicate predicate)
 
template<class Archive , template< typename... > class Map, typename... Args, typename = typename Map<Args...>::mapped_type>
void SER20_SAVE_FUNCTION_NAME (Archive &ar, Map< Args... > const &map)
 Saving for std-like pair associative containers.
 
template<class Archive , template< typename... > class Map, typename... Args, typename = typename Map<Args...>::mapped_type>
void SER20_LOAD_FUNCTION_NAME (Archive &ar, Map< Args... > &map)
 Loading for std-like pair associative containers.
 
template<class Archive , typename VariantType1 , typename... VariantTypes>
void SER20_SAVE_FUNCTION_NAME (Archive &ar, hpp::variant< VariantType1, VariantTypes... > const &variant)
 Saving for std::variant.
 
template<class Archive , typename... VariantTypes>
void SER20_LOAD_FUNCTION_NAME (Archive &ar, hpp::variant< VariantTypes... > &variant)
 Loading for std::variant.
 
template<class Archive >
void SER20_SERIALIZE_FUNCTION_NAME (Archive &, hpp::monostate const &)
 Serializing a std::monostate.
 
template<typename Archive , typename T >
void SAVE_FUNCTION_NAME (Archive &ar, asset_handle< T > const &obj)
 
template<typename Archive , typename T >
void LOAD_FUNCTION_NAME (Archive &ar, asset_handle< T > &obj)
 
template<typename Archive , typename T >
void SERIALIZE_FUNCTION_NAME (Archive &ar, rect< T > &obj)
 
template<typename Archive , typename T >
void SERIALIZE_FUNCTION_NAME (Archive &ar, size< T > &obj)
 
template<typename Archive , typename T >
void SERIALIZE_FUNCTION_NAME (Archive &ar, point< T > &obj)
 
template<typename Archive , typename T >
void SERIALIZE_FUNCTION_NAME (Archive &ar, range< T > &obj)
 
template<typename Archive >
auto SAVE_MINIMAL_FUNCTION_NAME (Archive &ar, const hpp::uuid &obj) -> std::string
 
template<typename Archive >
void LOAD_MINIMAL_FUNCTION_NAME (Archive &ar, hpp::uuid &obj, const std::string &suuid)
 
template<typename Archive >
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::bbox &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tquat< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat2x2< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat2x3< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat2x4< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat3x2< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat4x2< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat3x3< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat3x4< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat4x3< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tmat4x4< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::transform_t< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tvec2< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tvec3< T, P > &obj)
 
template<typename Archive , typename T , math::qualifier P>
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::tvec4< T, P > &obj)
 
template<typename Archive >
void SERIALIZE_FUNCTION_NAME (Archive &ar, math::color &obj)
 
template<typename Archive >
void save_entity_id (Archive &ar, const entt::const_handle &obj)
 
template<typename Archive >
void save_entity_uid (Archive &ar, const entt::const_handle &obj)
 
template<typename Archive >
void save_entity (Archive &ar, const entt::const_handle &obj, entity_flags flags)
 
template<typename Archive >
auto load_entity_from_id (Archive &ar, entt::handle &obj, entity_flags flags) -> bool
 
template<typename Archive >
auto load_entity_from_uid (Archive &ar, entt::handle &obj, entity_flags flags) -> bool
 
template<typename Archive >
void load_entity (Archive &ar, entt::handle &obj, entity_flags flags)
 
template<typename Component >
auto should_save_component (const entt::const_handle &obj) -> bool
 
template<typename Component >
auto should_load_component (const entt::handle &obj) -> bool
 
 SAVE (entt::const_handle)
 
 SAVE_INSTANTIATE (entt::const_handle, ser20::oarchive_associative_t)
 
 SAVE_INSTANTIATE (entt::const_handle, ser20::oarchive_binary_t)
 
 LOAD (entt::handle)
 
 LOAD_INSTANTIATE (entt::handle, ser20::iarchive_associative_t)
 
 LOAD_INSTANTIATE (entt::handle, ser20::iarchive_binary_t)
 
 SAVE (const_entity_handle_link)
 
 SAVE_INSTANTIATE (const_entity_handle_link, ser20::oarchive_associative_t)
 
 SAVE_INSTANTIATE (const_entity_handle_link, ser20::oarchive_binary_t)
 
 LOAD (entity_handle_link)
 
 LOAD_INSTANTIATE (entity_handle_link, ser20::iarchive_associative_t)
 
 LOAD_INSTANTIATE (entity_handle_link, ser20::iarchive_binary_t)
 
 SAVE (entity_components< entt::const_handle >)
 
 SAVE_INSTANTIATE (entity_components< entt::const_handle >, ser20::oarchive_associative_t)
 
 SAVE_INSTANTIATE (entity_components< entt::const_handle >, ser20::oarchive_binary_t)
 
 LOAD (entity_components< entt::handle >)
 
 LOAD_INSTANTIATE (entity_components< entt::handle >, ser20::iarchive_associative_t)
 
 LOAD_INSTANTIATE (entity_components< entt::handle >, ser20::iarchive_binary_t)
 
 SAVE (entity_data< entt::const_handle >)
 
 SAVE_INSTANTIATE (entity_data< entt::const_handle >, ser20::oarchive_associative_t)
 
 SAVE_INSTANTIATE (entity_data< entt::const_handle >, ser20::oarchive_binary_t)
 
 LOAD (entity_data< entt::handle >)
 
 LOAD_INSTANTIATE (entity_data< entt::handle >, ser20::iarchive_associative_t)
 
 LOAD_INSTANTIATE (entity_data< entt::handle >, ser20::iarchive_binary_t)
 
 SAVE_EXTERN (entt::const_handle)
 
 LOAD_EXTERN (entt::handle)
 
 SAVE_EXTERN (const_entity_handle_link)
 
 LOAD_EXTERN (entity_handle_link)
 

Typedef Documentation

◆ iarchive_associative_t

using ser20::iarchive_associative_t = simd::JSONInputArchive

Definition at line 62 of file associative_archive.h.

◆ iarchive_binary_t

using ser20::iarchive_binary_t = BinaryInputArchive

Definition at line 15 of file binary_archive.h.

◆ oarchive_associative_t

using ser20::oarchive_associative_t = simd::JSONOutputArchive

Definition at line 61 of file associative_archive.h.

◆ oarchive_binary_t

using ser20::oarchive_binary_t = BinaryOutputArchive

Definition at line 14 of file binary_archive.h.

Function Documentation

◆ create_iarchive_associative() [1/3]

auto ser20::create_iarchive_associative ( const char * buf,
size_t len )
inline

Definition at line 79 of file associative_archive.h.

◆ create_iarchive_associative() [2/3]

auto ser20::create_iarchive_associative ( const uint8_t * buf,
size_t len )
inline

Definition at line 74 of file associative_archive.h.

◆ create_iarchive_associative() [3/3]

auto ser20::create_iarchive_associative ( std::istream & stream)
inline

Definition at line 69 of file associative_archive.h.

◆ create_oarchive_associative()

auto ser20::create_oarchive_associative ( std::ostream & stream)
inline

Definition at line 64 of file associative_archive.h.

◆ epilogue() [1/12]

template<class T >
void ser20::epilogue ( YAMLInputArchive & ,
NameValuePair< T > const &  )
inline

Epilogue for NVPs for YAML archives.

NVPs do not start or finish nodes - they just set up the names

Definition at line 773 of file yaml.hpp.

◆ epilogue() [2/12]

template<class T >
void ser20::epilogue ( YAMLInputArchive & ,
SizeTag< T > const &  )
inline

Epilogue for SizeTags for YAML archives.

Definition at line 803 of file yaml.hpp.

◆ epilogue() [3/12]

template<class CharT , class Traits , class Alloc >
void ser20::epilogue ( YAMLInputArchive & ,
std::basic_string< CharT, Traits, Alloc > const &  )
inline

Epilogue for strings for YAML archives.

Definition at line 941 of file yaml.hpp.

◆ epilogue() [4/12]

void ser20::epilogue ( YAMLInputArchive & ,
std::nullptr_t const &  )
inline

Epilogue for arithmetic types for YAML archives.

Definition at line 883 of file yaml.hpp.

◆ epilogue() [5/12]

template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::epilogue ( YAMLInputArchive & ,
T const &  )
inline

Epilogue for arithmetic types for YAML archives.

Definition at line 913 of file yaml.hpp.

◆ epilogue() [6/12]

template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_input_serialization, YAMLInputArchive>::value && !traits::has_minimal_input_serialization<T, YAMLInputArchive>::value)
void ser20::epilogue ( YAMLInputArchive & ar,
T const &  )
inline

Epilogue for all other types other for YAML archives.

Definition at line 854 of file yaml.hpp.

◆ epilogue() [7/12]

template<class T >
void ser20::epilogue ( YAMLOutputArchive & ,
NameValuePair< T > const &  )
inline

Epilogue for NVPs for YAML archives.

NVPs do not start or finish nodes - they just set up the names

Definition at line 766 of file yaml.hpp.

◆ epilogue() [8/12]

template<class T >
void ser20::epilogue ( YAMLOutputArchive & ,
SizeTag< T > const &  )
inline

Epilogue for SizeTags for YAML archives.

SizeTags are strictly ignored for YAML

Definition at line 797 of file yaml.hpp.

◆ epilogue() [9/12]

template<class CharT , class Traits , class Alloc >
void ser20::epilogue ( YAMLOutputArchive & ,
std::basic_string< CharT, Traits, Alloc > const &  )
inline

Epilogue for strings for YAML archives.

Definition at line 935 of file yaml.hpp.

◆ epilogue() [10/12]

void ser20::epilogue ( YAMLOutputArchive & ,
std::nullptr_t const &  )
inline

Epilogue for arithmetic types for YAML archives.

Definition at line 878 of file yaml.hpp.

◆ epilogue() [11/12]

template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::epilogue ( YAMLOutputArchive & ,
T const &  )
inline

Epilogue for arithmetic types for YAML archives.

Definition at line 906 of file yaml.hpp.

◆ epilogue() [12/12]

template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_output_serialization, YAMLOutputArchive>::value && !traits::has_minimal_output_serialization<T, YAMLOutputArchive>::value)
void ser20::epilogue ( YAMLOutputArchive & ar,
T const &  )
inline

Epilogue for all other types other for YAML archives (except minimal types)

Finishes the node created in the prologue

Minimal types do not start or finish nodes

Definition at line 842 of file yaml.hpp.

◆ LOAD() [1/4]

ser20::LOAD ( entity_components< entt::handle > )

Definition at line 529 of file entity.cpp.

◆ LOAD() [2/4]

ser20::LOAD ( entity_data< entt::handle > )

Definition at line 634 of file entity.cpp.

◆ LOAD() [3/4]

ser20::LOAD ( entity_handle_link )

Definition at line 488 of file entity.cpp.

◆ LOAD() [4/4]

ser20::LOAD ( entt::handle )

Definition at line 429 of file entity.cpp.

◆ load_entity()

template<typename Archive >
void ser20::load_entity ( Archive & ar,
entt::handle & obj,
entity_flags flags )

Definition at line 356 of file entity.cpp.

◆ load_entity_from_id()

template<typename Archive >
auto ser20::load_entity_from_id ( Archive & ar,
entt::handle & obj,
entity_flags flags ) -> bool

Definition at line 286 of file entity.cpp.

◆ load_entity_from_uid()

template<typename Archive >
auto ser20::load_entity_from_uid ( Archive & ar,
entt::handle & obj,
entity_flags flags ) -> bool

Definition at line 336 of file entity.cpp.

◆ LOAD_EXTERN() [1/2]

ser20::LOAD_EXTERN ( entity_handle_link )

◆ LOAD_EXTERN() [2/2]

ser20::LOAD_EXTERN ( entt::handle )

◆ LOAD_FUNCTION_NAME()

template<typename Archive , typename T >
void ser20::LOAD_FUNCTION_NAME ( Archive & ar,
asset_handle< T > & obj )
inline

Definition at line 21 of file asset_handle.hpp.

◆ LOAD_INSTANTIATE() [1/8]

ser20::LOAD_INSTANTIATE ( entity_components< entt::handle > ,
ser20::iarchive_associative_t  )

◆ LOAD_INSTANTIATE() [2/8]

ser20::LOAD_INSTANTIATE ( entity_components< entt::handle > ,
ser20::iarchive_binary_t  )

◆ LOAD_INSTANTIATE() [3/8]

ser20::LOAD_INSTANTIATE ( entity_data< entt::handle > ,
ser20::iarchive_associative_t  )

◆ LOAD_INSTANTIATE() [4/8]

ser20::LOAD_INSTANTIATE ( entity_data< entt::handle > ,
ser20::iarchive_binary_t  )

◆ LOAD_INSTANTIATE() [5/8]

ser20::LOAD_INSTANTIATE ( entity_handle_link ,
ser20::iarchive_associative_t  )

◆ LOAD_INSTANTIATE() [6/8]

ser20::LOAD_INSTANTIATE ( entity_handle_link ,
ser20::iarchive_binary_t  )

◆ LOAD_INSTANTIATE() [7/8]

ser20::LOAD_INSTANTIATE ( entt::handle ,
ser20::iarchive_associative_t  )

◆ LOAD_INSTANTIATE() [8/8]

ser20::LOAD_INSTANTIATE ( entt::handle ,
ser20::iarchive_binary_t  )

◆ LOAD_MINIMAL_FUNCTION_NAME()

template<typename Archive >
void ser20::LOAD_MINIMAL_FUNCTION_NAME ( Archive & ar,
hpp::uuid & obj,
const std::string & suuid )
inline

Definition at line 48 of file basetypes.hpp.

◆ make_optional_nvp() [1/4]

template<class Archive , class T >
std::enable_if_t< traits::is_same_archive_v< Archive, JSONInputArchive >|| traits::is_same_archive_v< Archive, XMLInputArchive >|| traits::is_same_archive_v< Archive, YAMLInputArchive >, bool > ser20::make_optional_nvp ( Archive & ar,
const char * name,
T && value )

Definition at line 45 of file cereal_optional_nvp.h.

◆ make_optional_nvp() [2/4]

template<class Archive , class T , class Predicate >
std::enable_if_t< traits::is_same_archive_v< Archive, JSONInputArchive >|| traits::is_same_archive_v< Archive, XMLInputArchive >|| traits::is_same_archive_v< Archive, YAMLInputArchive >, bool > ser20::make_optional_nvp ( Archive & ar,
const char * name,
T && value,
Predicate predicate )

Definition at line 78 of file cereal_optional_nvp.h.

◆ make_optional_nvp() [3/4]

template<class Archive , class T >
void ser20::make_optional_nvp ( OutputArchive< Archive > & ar,
const char * name,
T && value )

Definition at line 60 of file cereal_optional_nvp.h.

◆ make_optional_nvp() [4/4]

template<class Archive , class T , class Predicate >
void ser20::make_optional_nvp ( OutputArchive< Archive > & ar,
const char * name,
T && value,
Predicate predicate )

Definition at line 67 of file cereal_optional_nvp.h.

◆ prologue() [1/12]

template<class T >
void ser20::prologue ( YAMLInputArchive & ,
NameValuePair< T > const &  )
inline

Prologue for NVPs for YAML archives.

Definition at line 758 of file yaml.hpp.

◆ prologue() [2/12]

template<class T >
void ser20::prologue ( YAMLInputArchive & ,
SizeTag< T > const &  )
inline

Prologue for SizeTags for YAML archives.

Definition at line 789 of file yaml.hpp.

◆ prologue() [3/12]

template<class CharT , class Traits , class Alloc >
void ser20::prologue ( YAMLInputArchive & ,
std::basic_string< CharT, Traits, Alloc > const &  )
inline

Prologue for strings for YAML archives.

Definition at line 928 of file yaml.hpp.

◆ prologue() [4/12]

void ser20::prologue ( YAMLInputArchive & ,
std::nullptr_t const &  )
inline

Prologue for arithmetic types for YAML archives.

Definition at line 872 of file yaml.hpp.

◆ prologue() [5/12]

template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::prologue ( YAMLInputArchive & ,
T const &  )
inline

Prologue for arithmetic types for YAML archives.

Definition at line 898 of file yaml.hpp.

◆ prologue() [6/12]

template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_input_serialization, YAMLInputArchive>::value && !traits::has_minimal_input_serialization<T, YAMLInputArchive>::value)
void ser20::prologue ( YAMLInputArchive & ar,
T const &  )
inline

Prologue for all other types for YAML archives.

Definition at line 826 of file yaml.hpp.

◆ prologue() [7/12]

template<class T >
void ser20::prologue ( YAMLOutputArchive & ,
NameValuePair< T > const &  )
inline

Prologue for NVPs for YAML archives.

NVPs do not start or finish nodes - they just set up the names

Definition at line 752 of file yaml.hpp.

◆ prologue() [8/12]

template<class T >
void ser20::prologue ( YAMLOutputArchive & ar,
SizeTag< T > const &  )
inline

Prologue for SizeTags for YAML archives.

SizeTags are strictly ignored for YAML, they just indicate that the current node should be made into an array

Definition at line 782 of file yaml.hpp.

◆ prologue() [9/12]

template<class CharT , class Traits , class Alloc >
void ser20::prologue ( YAMLOutputArchive & ar,
std::basic_string< CharT, Traits, Alloc > const &  )
inline

Prologue for strings for YAML archives.

Definition at line 921 of file yaml.hpp.

◆ prologue() [10/12]

void ser20::prologue ( YAMLOutputArchive & ar,
std::nullptr_t const &  )
inline

Prologue for arithmetic types for YAML archives.

Definition at line 866 of file yaml.hpp.

◆ prologue() [11/12]

template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_output_serialization, YAMLOutputArchive>::value && !traits::has_minimal_output_serialization<T, YAMLOutputArchive>::value)
void ser20::prologue ( YAMLOutputArchive & ar,
T const &  )
inline

Prologue for all other types for YAML archives (except minimal types)

Starts a new node, named either automatically or by some NVP, that may be given data by the type about to be archived

Minimal types do not start or finish nodes

Definition at line 814 of file yaml.hpp.

◆ prologue() [12/12]

template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::prologue ( YAMLOutputArchive & ar,
T const &  )
inline

Prologue for arithmetic types for YAML archives.

Definition at line 890 of file yaml.hpp.

◆ SAVE() [1/4]

ser20::SAVE ( const_entity_handle_link )

Definition at line 438 of file entity.cpp.

◆ SAVE() [2/4]

ser20::SAVE ( entity_components< entt::const_handle > )

Definition at line 501 of file entity.cpp.

◆ SAVE() [3/4]

ser20::SAVE ( entity_data< entt::const_handle > )

Definition at line 626 of file entity.cpp.

◆ SAVE() [4/4]

ser20::SAVE ( entt::const_handle )

Definition at line 422 of file entity.cpp.

◆ save_entity()

template<typename Archive >
void ser20::save_entity ( Archive & ar,
const entt::const_handle & obj,
entity_flags flags )

Definition at line 274 of file entity.cpp.

◆ save_entity_id()

template<typename Archive >
void ser20::save_entity_id ( Archive & ar,
const entt::const_handle & obj )

Definition at line 251 of file entity.cpp.

◆ save_entity_uid()

template<typename Archive >
void ser20::save_entity_uid ( Archive & ar,
const entt::const_handle & obj )

Definition at line 258 of file entity.cpp.

◆ SAVE_EXTERN() [1/2]

ser20::SAVE_EXTERN ( const_entity_handle_link )

◆ SAVE_EXTERN() [2/2]

ser20::SAVE_EXTERN ( entt::const_handle )

◆ SAVE_FUNCTION_NAME()

template<typename Archive , typename T >
void ser20::SAVE_FUNCTION_NAME ( Archive & ar,
asset_handle< T > const & obj )
inline

Definition at line 15 of file asset_handle.hpp.

◆ SAVE_INSTANTIATE() [1/8]

◆ SAVE_INSTANTIATE() [2/8]

ser20::SAVE_INSTANTIATE ( const_entity_handle_link ,
ser20::oarchive_binary_t  )

◆ SAVE_INSTANTIATE() [3/8]

ser20::SAVE_INSTANTIATE ( entity_components< entt::const_handle > ,
ser20::oarchive_associative_t  )

◆ SAVE_INSTANTIATE() [4/8]

ser20::SAVE_INSTANTIATE ( entity_components< entt::const_handle > ,
ser20::oarchive_binary_t  )

◆ SAVE_INSTANTIATE() [5/8]

ser20::SAVE_INSTANTIATE ( entity_data< entt::const_handle > ,
ser20::oarchive_associative_t  )

◆ SAVE_INSTANTIATE() [6/8]

ser20::SAVE_INSTANTIATE ( entity_data< entt::const_handle > ,
ser20::oarchive_binary_t  )

◆ SAVE_INSTANTIATE() [7/8]

ser20::SAVE_INSTANTIATE ( entt::const_handle ,
ser20::oarchive_associative_t  )

◆ SAVE_INSTANTIATE() [8/8]

ser20::SAVE_INSTANTIATE ( entt::const_handle ,
ser20::oarchive_binary_t  )

◆ SAVE_MINIMAL_FUNCTION_NAME()

template<typename Archive >
auto ser20::SAVE_MINIMAL_FUNCTION_NAME ( Archive & ar,
const hpp::uuid & obj ) -> std::string
inline

Definition at line 41 of file basetypes.hpp.

◆ SER20_LOAD_FUNCTION_NAME() [1/7]

template<class Archive , typename... VariantTypes>
void ser20::SER20_LOAD_FUNCTION_NAME ( Archive & ar,
hpp::variant< VariantTypes... > & variant )
inline

Loading for std::variant.

Definition at line 91 of file variant.hpp.

◆ SER20_LOAD_FUNCTION_NAME() [2/7]

template<class Archive , template< typename... > class Map, typename... Args, typename = typename Map<Args...>::mapped_type>
void ser20::SER20_LOAD_FUNCTION_NAME ( Archive & ar,
Map< Args... > & map )
inline

Loading for std-like pair associative containers.

Definition at line 60 of file pair_associative_container.hpp.

◆ SER20_LOAD_FUNCTION_NAME() [3/7]

template<class T >
void ser20::SER20_LOAD_FUNCTION_NAME ( YAMLInputArchive & ar,
NameValuePair< T > & t )
inline

Definition at line 957 of file yaml.hpp.

◆ SER20_LOAD_FUNCTION_NAME() [4/7]

template<class T >
void ser20::SER20_LOAD_FUNCTION_NAME ( YAMLInputArchive & ar,
SizeTag< T > & st )
inline

Loading SizeTags from YAML.

Definition at line 1015 of file yaml.hpp.

◆ SER20_LOAD_FUNCTION_NAME() [5/7]

template<class CharT , class Traits , class Alloc >
void ser20::SER20_LOAD_FUNCTION_NAME ( YAMLInputArchive & ar,
std::basic_string< CharT, Traits, Alloc > & str )
inline

loading string from YAML

Definition at line 1000 of file yaml.hpp.

◆ SER20_LOAD_FUNCTION_NAME() [6/7]

void ser20::SER20_LOAD_FUNCTION_NAME ( YAMLInputArchive & ar,
std::nullptr_t & t )
inline

Loading arithmetic from YAML.

Definition at line 970 of file yaml.hpp.

◆ SER20_LOAD_FUNCTION_NAME() [7/7]

template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::SER20_LOAD_FUNCTION_NAME ( YAMLInputArchive & ar,
T & t )
inline

Loading arithmetic from YAML.

Definition at line 985 of file yaml.hpp.

◆ SER20_SAVE_FUNCTION_NAME() [1/7]

template<class Archive , typename VariantType1 , typename... VariantTypes>
void ser20::SER20_SAVE_FUNCTION_NAME ( Archive & ar,
hpp::variant< VariantType1, VariantTypes... > const & variant )
inline

Saving for std::variant.

Definition at line 81 of file variant.hpp.

◆ SER20_SAVE_FUNCTION_NAME() [2/7]

template<class Archive , template< typename... > class Map, typename... Args, typename = typename Map<Args...>::mapped_type>
void ser20::SER20_SAVE_FUNCTION_NAME ( Archive & ar,
Map< Args... > const & map )
inline

Saving for std-like pair associative containers.

Definition at line 46 of file pair_associative_container.hpp.

◆ SER20_SAVE_FUNCTION_NAME() [3/7]

template<class T >
void ser20::SER20_SAVE_FUNCTION_NAME ( YAMLOutputArchive & ,
SizeTag< T > const &  )
inline

Saving SizeTags to YAML.

Definition at line 1008 of file yaml.hpp.

◆ SER20_SAVE_FUNCTION_NAME() [4/7]

template<class T >
void ser20::SER20_SAVE_FUNCTION_NAME ( YAMLOutputArchive & ar,
NameValuePair< T > const & t )
inline

Serializing NVP types to YAML.

Definition at line 950 of file yaml.hpp.

◆ SER20_SAVE_FUNCTION_NAME() [5/7]

template<class CharT , class Traits , class Alloc >
void ser20::SER20_SAVE_FUNCTION_NAME ( YAMLOutputArchive & ar,
std::basic_string< CharT, Traits, Alloc > const & str )
inline

saving string to YAML

Definition at line 993 of file yaml.hpp.

◆ SER20_SAVE_FUNCTION_NAME() [6/7]

void ser20::SER20_SAVE_FUNCTION_NAME ( YAMLOutputArchive & ar,
std::nullptr_t const & t )
inline

Saving for nullptr to YAML.

Definition at line 964 of file yaml.hpp.

◆ SER20_SAVE_FUNCTION_NAME() [7/7]

template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::SER20_SAVE_FUNCTION_NAME ( YAMLOutputArchive & ar,
T const & t )
inline

Saving for arithmetic to YAML.

Definition at line 977 of file yaml.hpp.

◆ SER20_SERIALIZE_FUNCTION_NAME()

template<class Archive >
void ser20::SER20_SERIALIZE_FUNCTION_NAME ( Archive & ,
hpp::monostate const &  )

Serializing a std::monostate.

Definition at line 105 of file variant.hpp.

◆ SERIALIZE_FUNCTION_NAME() [1/20]

template<typename Archive >
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::bbox & obj )
inline

Definition at line 7 of file bbox.hpp.

◆ SERIALIZE_FUNCTION_NAME() [2/20]

template<typename Archive >
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::color & obj )
inline

Definition at line 33 of file vector.hpp.

◆ SERIALIZE_FUNCTION_NAME() [3/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat2x2< T, P > & obj )
inline

Definition at line 8 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [4/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat2x3< T, P > & obj )
inline

Definition at line 15 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [5/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat2x4< T, P > & obj )
inline

Definition at line 22 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [6/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat3x2< T, P > & obj )
inline

Definition at line 31 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [7/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat3x3< T, P > & obj )
inline

Definition at line 45 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [8/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat3x4< T, P > & obj )
inline

Definition at line 53 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [9/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat4x2< T, P > & obj )
inline

Definition at line 38 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [10/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat4x3< T, P > & obj )
inline

Definition at line 62 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [11/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tmat4x4< T, P > & obj )
inline

Definition at line 70 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [12/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tquat< T, P > & obj )
inline

Definition at line 9 of file quaternion.hpp.

◆ SERIALIZE_FUNCTION_NAME() [13/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::transform_t< T, P > & obj )
inline

Definition at line 79 of file transform.hpp.

◆ SERIALIZE_FUNCTION_NAME() [14/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tvec2< T, P > & obj )
inline

Definition at line 9 of file vector.hpp.

◆ SERIALIZE_FUNCTION_NAME() [15/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tvec3< T, P > & obj )
inline

Definition at line 16 of file vector.hpp.

◆ SERIALIZE_FUNCTION_NAME() [16/20]

template<typename Archive , typename T , math::qualifier P>
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
math::tvec4< T, P > & obj )
inline

Definition at line 24 of file vector.hpp.

◆ SERIALIZE_FUNCTION_NAME() [17/20]

template<typename Archive , typename T >
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
point< T > & obj )
inline

Definition at line 26 of file basetypes.hpp.

◆ SERIALIZE_FUNCTION_NAME() [18/20]

template<typename Archive , typename T >
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
range< T > & obj )
inline

Definition at line 33 of file basetypes.hpp.

◆ SERIALIZE_FUNCTION_NAME() [19/20]

template<typename Archive , typename T >
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
rect< T > & obj )
inline

Definition at line 10 of file basetypes.hpp.

◆ SERIALIZE_FUNCTION_NAME() [20/20]

template<typename Archive , typename T >
void ser20::SERIALIZE_FUNCTION_NAME ( Archive & ar,
size< T > & obj )
inline

Definition at line 19 of file basetypes.hpp.

◆ should_load_component()

template<typename Component >
auto ser20::should_load_component ( const entt::handle & obj) -> bool

Definition at line 406 of file entity.cpp.

◆ should_save_component()

template<typename Component >
auto ser20::should_save_component ( const entt::const_handle & obj) -> bool

Definition at line 377 of file entity.cpp.