3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/cereal/schema/BasicSchema.h"
7#include "mc/deps/cereal/schema/ReflectedType.h"
8#include "mc/deps/cereal/schema/SchemaTraits.h"
12namespace cereal {
class DynamicValue; }
13namespace cereal {
class SerializerContext; }
14namespace cereal {
struct SchemaDescription; }
15namespace cereal {
struct SchemaReader; }
16namespace cereal {
struct SchemaWriter; }
17namespace cereal::internal {
class BasicSchema; }
18namespace cereal::util::internal {
struct StringViewHash; }
21namespace cereal::internal {
24MCNAPI
void derefAndLoad(
27 ::entt::meta_any& any,
28 ::entt::meta_any
const& udata,
32MCNAPI
void derefAndSave(
35 ::entt::meta_any
const& any,
39MCNAPI
void fillEnumDescription(
40 ::entt::meta_ctx
const&
ctx,
42 ::entt::meta_type
const& type,
43 ::cereal::internal::BasicSchema::DescriptionMode mode
46MCNAPI ::cereal::internal::ReflectedType getReflectedType(::entt::meta_type
const& type);
48MCNAPI ::std::string_view getSchemaNameOrAssert(::entt::meta_ctx
const&
ctx, ::entt::type_info
const& info);
51 dense_map<::std::string, ::entt::meta_any, ::cereal::util::internal::StringViewHash, ::std::equal_to<void>>*
52 getUserProperties(::entt::meta_data
const& data);
55 dense_map<::std::string, ::entt::meta_any, ::cereal::util::internal::StringViewHash, ::std::equal_to<void>>*
56 getUserProperties(::entt::meta_type
const& type);
58MCNAPI
void loadEnumValue(
59 ::entt::meta_type
const& type,
61 ::entt::meta_any& any,
65MCNAPI ::cereal::internal::BasicSchema
const* lookup(::entt::meta_ctx
const&
ctx, ::entt::type_info info);
67MCNAPI
void overrideCheck(::entt::meta_type type, uint currentMetaData, ::cereal::internal::SchemaTraits traits);
69MCNAPI ::std::unordered_map<::std::string, ::cereal::DynamicValue> pickUserProperties(
70 ::entt::meta_ctx
const&
ctx,
75 ::std::equal_to<void>>
const& userProps
78MCNAPI
void saveEnumValue(
79 ::entt::meta_any
const& enumValue,
80 ::entt::meta_type
const& type,
85MCNAPI ::std::string toString(
double d);
Definition SerializerContext.h:11
Definition BasicSchema.h:19
Definition SchemaDescription.h:20
Definition SchemaReader.h:10
Definition SchemaWriter.h:12
Definition StringViewHash.h:7