|
cereal_fwd
Fork of cereal library adding archive supporting forward compatibility
|
Binary input and output archives with backward and forward compatibility. More...
#include <cereal/cereal.hpp>#include <cereal/types/memory.hpp>#include <array>#include <cstring>#include <limits>#include <map>#include <set>#include <sstream>#include <cereal/details/extendable_binary_details.hpp>Go to the source code of this file.
Functions | |
| template<class T > | |
| std::enable_if< std::is_same< T, bool >::value, void >::type | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, T const &t) |
| Saving for bool types to ExtendableBinary archive. | |
| template<class T > | |
| std::enable_if< std::is_same< T, bool >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, T &t) |
| Loading for bool types from ExtendableBinary archive. | |
| template<class T > | |
| std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value, void >::type | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, T const &t) |
| Saving for integer types to ExtendableBinary archive. | |
| template<class T > | |
| std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, T &t) |
| Loading for integer types from ExtendableBinary archive. | |
| template<class T > | |
| std::enable_if< std::is_floating_point< T >::value, void >::type | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, T const &t) |
| Saving for floating point to ExtendableBinary archive. | |
| template<class T > | |
| std::enable_if< std::is_floating_point< T >::value, void >::type | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, T &t) |
| Loading for floating point types from ExtendableBinary archive. | |
| template<class Archive , class T > | |
| cereal::CEREAL_SERIALIZE_FUNCTION_NAME (Archive &ar, NameValuePair< T > &t) | |
| Serializing NVP types to binary. More... | |
| template<class T > | |
| void | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, SizeTag< T > const &t) |
| Saving SizeTag to ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, SizeTag< T > &t) |
| Loading SizeTag from ExtendableBinary archive. | |
| void | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, OmittedFieldTag const &) |
| Saving OmittedFieldTag to ExtendableBinary archive. | |
| void | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, OmittedFieldTag &) |
| Loading OmittedFieldTag from ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, BinaryData< T > const &bd) |
| Saving binary data to ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, BinaryData< T > &bd) |
| Loading binary data from extendable binary. More... | |
| template<class T > | |
| void | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, detail::VersionIdTag< T > const &version) |
| Saving VersionIdTag to ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, detail::VersionIdTag< T > &version) |
| Loading VersionIdTag from ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, detail::PolymorphicIdTag< T > const &polymorphicIdTag) |
| Saving PolymorphicIdTag to ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, detail::PolymorphicIdTag< T > &polymorphicIdTag) |
| Loading PolymorphicIdTag from ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, detail::PolymorphicKeyTag< T > const &polymorphicKeyTag) |
| Saving PolymorphicKeyTag to ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, detail::PolymorphicKeyTag< T > &polymorphicKeyTag) |
| Loading PolymorphicKeyTag from ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, detail::ObjectIdTag< T > const &objectIdTag) |
| Saving ObjectIdTag to ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, detail::ObjectIdTag< T > &objectIdTag) |
| Loading ObjectIdTag from ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_SAVE_FUNCTION_NAME (ExtendableBinaryOutputArchive &ar, detail::PointerValidityTag< T > const &pointerValidityTag) |
| Saving PointerValidityTag to ExtendableBinary archive. | |
| template<class T > | |
| void | cereal::CEREAL_LOAD_FUNCTION_NAME (ExtendableBinaryInputArchive &ar, detail::PointerValidityTag< T > &pointerValidityTag) |
| Loading PointerValidityTag from ExtendableBinary archive. | |
| template<class T , traits::EnableIf< is_extendablebinary_empty_prologue_and_epilogue1< T >::value > = traits::sfinae> | |
| void | cereal::prologue (ExtendableBinaryOutputArchive &ar, T const &) |
| Prologue for arithmetic types for ExtendableBinary archives. More... | |
| template<class T , traits::EnableIf< is_extendablebinary_empty_prologue_and_epilogue1< T >::value > = traits::sfinae> | |
| FieldSerialized | cereal::prologueLoad (ExtendableBinaryInputArchive &ar, T const &) |
| Prologue for arithmetic types for ExtendableBinary archives. More... | |
| template<class T , traits::EnableIf< is_extendablebinary_empty_prologue_and_epilogue1< T >::value > = traits::sfinae> | |
| void | cereal::epilogue (ExtendableBinaryOutputArchive &, T const &) |
| Epilogue for arithmetic types for ExtendableBinary archives. More... | |
| template<class T , traits::EnableIf< is_extendablebinary_empty_prologue_and_epilogue1< T >::value > = traits::sfinae> | |
| void | cereal::epilogue (ExtendableBinaryInputArchive &, T const &) |
| Epilogue for arithmetic types for ExtendableBinary archives. More... | |
Binary input and output archives with backward and forward compatibility.
|
inline |
Loading binary data from extendable binary.
Size of array is saved as varint. Apart from tag, size of element is saved.
|
inline |
Serializing NVP types to binary.
Serializing NVP types to portable binary.
Serializing NVP types to ExtendableBinary archive.
|
inline |
Epilogue for arithmetic types for ExtendableBinary archives.
Epilogue for all non specified types for ExtendableBinary archives.
Epilogue for internal types for ExtendableBinary archives.
Finishes the node created in the prologue
|
inline |
Epilogue for arithmetic types for ExtendableBinary archives.
Epilogue for all non specified types for ExtendableBinary archives.
Epilogue for internal types for ExtendableBinary archives.
|
inline |
Prologue for arithmetic types for ExtendableBinary archives.
Prologue for all non specified types for ExtendableBinary archives.
Prologue for internal types for ExtendableBinary archives.
Marks beginning of new object in stream
|
inline |
Prologue for arithmetic types for ExtendableBinary archives.
Prologue for all non specified types for ExtendableBinary archives.
Prologue for internal types for ExtendableBinary archives.
1.8.13