LeviLamina
Loading...
Searching...
No Matches
DefaultCompositeSchema.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
8// auto generated forward declare list
9// clang-format off
10namespace cereal { class Constraint; }
11namespace cereal { class SerializerContext; }
12namespace cereal { struct ReflectionCtx; }
13namespace cereal { struct SchemaDescription; }
14namespace cereal { struct SchemaReader; }
15namespace cereal { struct SchemaWriter; }
16// clang-format on
17
18namespace cereal::internal {
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 4
25 virtual void doLoad(
27 ::entt::meta_any& any,
28 ::entt::meta_any const& udata,
30 ) const /*override*/;
31
32 // vIndex: 5
33 virtual void
34 doSave(::cereal::SchemaWriter& writer, ::entt::meta_any const& any, ::cereal::SerializerContext& context) const
35 /*override*/;
36
37 // vIndex: 0
38 virtual ~DefaultCompositeSchema() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI void
45 constraintDescriptionIfAny(::cereal::SchemaDescription& description, ::cereal::Constraint const* constraint) const;
46
47 MCAPI void iterateMembers(
49 ::entt::meta_type const& type,
50 ::std::function<void(uint, ::entt::meta_data)> cb
51 ) const;
52
53 MCAPI ::cereal::SchemaDescription makeDescriptionForType(
55 ::entt::meta_type const& type,
56 ::cereal::internal::BasicSchema::DescriptionMode mode
57 ) const;
58
59 MCAPI ::cereal::internal::BasicSchema::MemberDescriptor const*
60 memberDescriptor(::entt::meta_type const& type, uint memberId) const;
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI void $doLoad(
74 ::entt::meta_any& any,
75 ::entt::meta_any const& udata,
77 ) const;
78
79 MCAPI void
80 $doSave(::cereal::SchemaWriter& writer, ::entt::meta_any const& any, ::cereal::SerializerContext& context) const;
81 // NOLINTEND
82};
83
84} // namespace cereal::internal
Definition Constraint.h:13
Definition SerializerContext.h:10
Definition BasicSchema.h:17
Definition DefaultCompositeSchema.h:20
Definition ReflectionCtx.h:11
Definition SchemaDescription.h:20
Definition SchemaReader.h:15
Definition SchemaWriter.h:13
Definition context.h:5
Definition ctx.h:5