LeviLamina
Loading...
Searching...
No Matches
ComponentStorageCompositeSchema.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/schema/DefaultCompositeSchema.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cereal { struct DescriptionConfig; }
11namespace cereal { struct MetaVisitor; }
12namespace cereal { struct SchemaDescription; }
13namespace cereal { struct SchemaReader; }
14namespace cereal { struct SchemaWriter; }
15namespace cereal::internal { struct LoadState; }
16namespace cereal::internal { struct ReflectionContext; }
17namespace cereal::internal { struct SaveState; }
18// clang-format on
19
20namespace cereal::internal {
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual void doSave(
28 ::entt::meta_any const& any,
30 ) const /*override*/;
31
32 virtual void doLoad(
34 ::entt::meta_any& any,
35 ::entt::meta_any const& udata,
37 ) const /*override*/;
38
39 virtual bool doMap(::entt::meta_any& src, ::entt::meta_any& dst, ::cereal::MetaVisitor& visitor) const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI ::cereal::SchemaDescription makeDescriptionForComponents(
47 ::entt::meta_type const& type,
49 ) const;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static ::entt::meta_data
56 findComponentData(::entt::meta_type const& type, uint componentId, bool serializeDeprecated);
57
58 MCAPI static ::std::pair<uint, ::entt::meta_data> findComponentFamilyData(
59 ::entt::meta_type const& source,
60 ::entt::meta_type const& curr,
61 ::std::string_view family,
62 bool serializeDeprecated
63 );
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI void $doSave(
71 ::entt::meta_any const& any,
73 ) const;
74
75 MCAPI void $doLoad(
77 ::entt::meta_any& any,
78 ::entt::meta_any const& udata,
80 ) const;
81
82 MCAPI bool $doMap(::entt::meta_any& src, ::entt::meta_any& dst, ::cereal::MetaVisitor& visitor) const;
83
84
85 // NOLINTEND
86};
87
88} // namespace cereal::internal
Definition ComponentStorageCompositeSchema.h:22
Definition DefaultCompositeSchema.h:19
Definition DescriptionConfig.h:12
Definition MetaVisitor.h:7
Definition SchemaDescription.h:21
Definition SchemaReader.h:12
Definition SchemaWriter.h:16
Definition LoadState.h:14
Definition ReflectionContext.h:15
Definition SaveState.h:13
Definition ctx.h:5