LeviLamina
Loading...
Searching...
No Matches
LazyLoadSchema.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/VariantPriorityLevel.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cereal { struct DescriptionConfig; }
12namespace cereal { struct MetaVisitor; }
13namespace cereal { struct SchemaDescription; }
14namespace cereal { struct SchemaReader; }
15namespace cereal { struct SchemaWriter; }
16namespace cereal::internal { struct LoadState; }
17namespace cereal::internal { struct ReflectionContext; }
18namespace cereal::internal { struct SaveState; }
19// clang-format on
20
21namespace cereal::internal {
22
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::entt::type_info const& typeInfo() const = 0;
28
29 virtual void doLoad(
31 ::entt::meta_any& any,
32 ::entt::meta_any const& udata,
34 ) const /*override*/;
35
36 virtual void doSave(
38 ::entt::meta_any const& any,
40 ) const /*override*/;
41
42 virtual bool doMap(::entt::meta_any& src, ::entt::meta_any& dst, ::cereal::MetaVisitor& visitor) const /*override*/;
43
44 virtual ::cereal::SchemaDescription
46 /*override*/;
47
48 virtual ::cereal::internal::VariantPriorityLevel minVariantPriorityLevel(::entt::meta_ctx const& ctx) const
49 /*override*/;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI void $doLoad(
57 ::entt::meta_any& any,
58 ::entt::meta_any const& udata,
60 ) const;
61
62 MCAPI bool $doMap(::entt::meta_any& src, ::entt::meta_any& dst, ::cereal::MetaVisitor& visitor) const;
63
64 MCAPI ::cereal::SchemaDescription
65 $makeDescription(::cereal::internal::ReflectionContext const& ctx, ::cereal::DescriptionConfig config) const;
66
67 MCAPI ::cereal::internal::VariantPriorityLevel $minVariantPriorityLevel(::entt::meta_ctx const& ctx) const;
68
69
70 // NOLINTEND
71};
72
73} // namespace cereal::internal
Definition BasicSchema.h:28
Definition LazyLoadSchema.h:23
Definition DescriptionConfig.h:12
Definition MetaVisitor.h:15
Definition SchemaDescription.h:21
Definition SchemaReader.h:12
Definition SchemaWriter.h:16
Definition LoadState.h:14
Definition ReflectionContext.h:10
Definition SaveState.h:13
Definition ctx.h:5