|
OpenEnroth 731eccc
|
#include "StandardSerialization.h"#include <fast_float/fast_float.h>#include <string>#include <charconv>#include "Utility/String/Format.h"#include "SerializationExceptions.h"Namespaces | |
| namespace | detail |
| namespace | detail_float |
| namespace | detail_integral |
Macros | |
| #define | MM_DEFINE_TYPE_NAME(T) template<> const char *typeName<T>() { return #T; } |
| #define | MM_DEFINE_PROXY_SERIALIZATION_FUNCTIONS(TYPE, NAMESPACE) |
Functions | |
| template<class T > | |
| const char * | detail::typeName () |
| bool | trySerialize (const bool &src, std::string *dst) |
| bool | tryDeserialize (std::string_view src, bool *dst) |
| void | serialize (const bool &src, std::string *dst) |
| void | deserialize (std::string_view src, bool *dst) |
| bool | trySerialize (const std::string &src, std::string *dst) |
| bool | tryDeserialize (std::string_view src, std::string *dst) |
| void | serialize (const std::string &src, std::string *dst) |
| void | deserialize (std::string_view src, std::string *dst) |
| template<class T > | |
| bool | detail_float::trySerialize (const T &src, std::string *dst) |
| template<class T > | |
| bool | detail_float::tryDeserialize (std::string_view src, T *dst) |
| template<class T > | |
| void | detail_float::serialize (const T &src, std::string *dst) |
| template<class T > | |
| void | detail_float::deserialize (std::string_view src, T *dst) |
| template<class T > | |
| bool | detail_integral::trySerialize (const T &src, std::string *dst) |
| template<class T > | |
| bool | detail_integral::tryDeserialize (std::string_view src, T *dst) |
| template<class T > | |
| void | detail_integral::serialize (const T &src, std::string *dst) |
| template<class T > | |
| void | detail_integral::deserialize (std::string_view src, T *dst) |
| #define MM_DEFINE_PROXY_SERIALIZATION_FUNCTIONS | ( | TYPE, | |
| NAMESPACE | |||
| ) |
| #define MM_DEFINE_TYPE_NAME | ( | T | ) | template<> const char *typeName<T>() { return #T; } |
| void deserialize | ( | std::string_view | src, |
| bool * | dst | ||
| ) |
| void deserialize | ( | std::string_view | src, |
| std::string * | dst | ||
| ) |
| void serialize | ( | const bool & | src, |
| std::string * | dst | ||
| ) |
| void serialize | ( | const std::string & | src, |
| std::string * | dst | ||
| ) |
| bool tryDeserialize | ( | std::string_view | src, |
| bool * | dst | ||
| ) |
| bool tryDeserialize | ( | std::string_view | src, |
| std::string * | dst | ||
| ) |
| bool trySerialize | ( | const bool & | src, |
| std::string * | dst | ||
| ) |
| bool trySerialize | ( | const std::string & | src, |
| std::string * | dst | ||
| ) |