LeviLamina
Loading...
Searching...
No Matches
internal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/schema/BasicSchema.h"
7#include "mc/deps/cereal/schema/ReflectedType.h"
8#include "mc/deps/cereal/schema/SchemaTraits.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cereal { class DynamicValue; }
13namespace cereal { struct SchemaDescription; }
14namespace cereal::internal { class BasicSchema; }
15namespace cereal::util::internal { struct StringViewHash; }
16// clang-format on
17
18namespace cereal::internal {
19// functions
20// NOLINTBEGIN
21MCNAPI ::cereal::DynamicValue dynamicValueFromProp(::entt::meta_any const& any);
22
23MCNAPI void fillEnumDescription(
24 ::entt::meta_ctx const& ctx,
26 ::entt::meta_type const& type,
27 ::cereal::internal::BasicSchema::DescriptionMode mode
28);
29
30MCNAPI ::std::string_view getOrMakeUpSchemaName(::entt::meta_type const& type);
31
32MCNAPI ::cereal::internal::ReflectedType getReflectedType(::entt::meta_type const& type);
33
34MCNAPI ::entt::dense_map<
35 ::std::string,
36 ::std::pair<::entt::meta_type (*)(::entt::meta_ctx const&), ::entt::basic_any<16, 8>>,
38 ::std::equal_to<void>>*
39getUserProperties(::entt::meta_data const& data);
40
41MCNAPI ::entt::dense_map<
42 ::std::string,
43 ::std::pair<::entt::meta_type (*)(::entt::meta_ctx const&), ::entt::basic_any<16, 8>>,
45 ::std::equal_to<void>>*
46getUserProperties(::entt::meta_type const& type);
47
48MCNAPI ::cereal::internal::BasicSchema const* lookup(::entt::meta_ctx const& ctx, ::entt::type_info info);
49
50MCNAPI ::std::string makeEnumErrorMsg(::entt::meta_type const& type);
51
52MCNAPI void overrideCheck(::entt::meta_type type, uint currentMetaData, ::cereal::internal::SchemaTraits traits);
53
54MCNAPI ::std::map<::std::string, ::cereal::DynamicValue> pickUserProperties(
55 ::entt::meta_ctx const& ctx,
56 ::entt::dense_map<
57 ::std::string,
58 ::std::pair<::entt::meta_type (*)(::entt::meta_ctx const&), ::entt::basic_any<16, 8>>,
60 ::std::equal_to<void>> const& userProps
61);
62
63MCNAPI ::std::string toString(double d);
64// NOLINTEND
65
66} // namespace cereal::internal
Definition SchemaDescription.h:20
Definition StringViewHash.h:7
Definition ctx.h:5