MADNESS
0.10.1
|
Default load of an object via serialize(ar, t)
.
More...
#include <archive.h>
Static Public Member Functions | |
template<typename A = Archive, typename U = T, typename = std::enable_if_t<is_input_archive_v<A> && (has_member_serialize_v<U,A> || has_nonmember_serialize_v<U,A> || has_freestanding_serialize_v<U, A> || has_freestanding_default_serialize_v<U, A>)>> | |
static void | load (const A &ar, const U &t) |
Load an object. More... | |
template<typename A = Archive, typename U = T, typename = std::enable_if_t<is_input_archive_v<A> && std::is_function<U>::value>> | |
static void | load (const Archive &ar, U &t) |
Load function reference stored as function pointer. More... | |
Default load of an object via serialize(ar, t)
.
Archive | The archive type. |
T | The data type. |
|
inlinestatic |
Load an object.
[in] | ar | The archive. |
[in] | t | The data. |
References madness::archive::default_serialize(), MAD_ARCHIVE_DEBUG, madness::archive::serialize(), and madness::archive::ArchiveSerializeImpl< Archive, T, Enabler >::serialize().
Referenced by madness::archive::ArchiveLoadImpl< Archive, std::shared_ptr< const FunctionImpl< T, NDIM > > >::load(), madness::archive::ArchiveLoadImpl< Archive, std::shared_ptr< FunctionImpl< T, NDIM > > >::load(), and madness::archive::ArchiveImpl< Archive, T, Enabler >::wrap_load().
|
inlinestatic |
Load function reference stored as function pointer.
[in] | ar | The archive. |
[in] | t | The data. |
References madness::archive::default_serialize(), madness::has_freestanding_default_serialize_v, madness::has_freestanding_serialize_v, MAD_ARCHIVE_DEBUG, and madness::archive::serialize().