LeviLamina
Loading...
Searching...
No Matches
cereal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Json { class Value; }
8namespace cereal { class DynamicValue; }
9namespace cereal { struct DescriptionConfig; }
10namespace cereal { struct ReflectionCtx; }
11namespace cereal { struct SchemaDescription; }
12// clang-format on
13
14namespace cereal {
15// functions
16// NOLINTBEGIN
17MCNAPI ::std::string const* documentation(::entt::meta_data const& data);
18
19MCNAPI ::std::string const* documentation(::entt::meta_type const& type);
20
21MCNAPI uint enttHash(::std::string_view str);
22
23MCNAPI ::std::string_view getName(::entt::meta_type const& type);
24
25MCNAPI ::std::string_view getName(::entt::meta_type const& type, uint member);
26
27#ifdef LL_PLAT_S
28MCNAPI ::cereal::SchemaDescription
29getSchemaDescription(::cereal::ReflectionCtx const& ctx, ::entt::type_info info, ::cereal::DescriptionConfig config);
30#endif
31
32#ifdef LL_PLAT_C
33MCNAPI ::std::vector<::cereal::SchemaDescription> getSchemaDescriptionRecursive(
34 ::cereal::ReflectionCtx const& ctx,
35 ::entt::type_info info,
36 ::cereal::DescriptionConfig config
37);
38#endif
39
40#ifdef LL_PLAT_S
41MCNAPI ::std::vector<::cereal::SchemaDescription>
42getSchemaDescriptions(::cereal::ReflectionCtx const& ctx, ::cereal::DescriptionConfig config);
43#endif
44
45MCNAPI bool operator==(::cereal::DynamicValue const& lhs, ::cereal::DynamicValue const& rhs);
46
47#ifdef LL_PLAT_S
48MCNAPI ::entt::meta_type resolve(::cereal::ReflectionCtx const& ctx, uint id);
49#endif
50
51MCNAPI ::entt::meta_type resolve(::cereal::ReflectionCtx const& ctx, ::entt::type_info const& info);
52
53#ifdef LL_PLAT_C
54MCNAPI ::std::string toJsonString(::cereal::DynamicValue const& value);
55
56MCNAPI ::std::optional<::std::string> toJsonString(::std::optional<::cereal::DynamicValue> value);
57#endif
58
59MCNAPI ::Json::Value toJsonValue(::cereal::DynamicValue const& value);
60// NOLINTEND
61
62} // namespace cereal
Definition Value.h:16
Definition DynamicValue.h:10
Definition DescriptionConfig.h:12
Definition ReflectionCtx.h:11
Definition SchemaDescription.h:21