LeviLamina
Loading...
Searching...
No Matches
MetaVisitor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cereal { struct ReflectionCtx; }
11// clang-format on
12
13namespace cereal {
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::cereal::ReflectionCtx const>> mCtx;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~MetaVisitor();
26
27 virtual void log(::std::string msg) = 0;
28
29 virtual bool hasErrors() const = 0;
30
31 virtual void onSequenceContainer(uint64 index, ::std::function<bool()> cb) = 0;
32
33 virtual void onAssociativeContainer(::std::string_view key, ::std::function<bool()> cb) = 0;
34
35 virtual void onAssociativeContainer(uint64 index, ::std::function<bool()> cb) = 0;
36
37 virtual void onSetter(::std::function<bool()> cb) = 0;
38
39 virtual void onMetaType(
40 ::entt::meta_any from,
41 ::entt::meta_any to,
42 ::std::function<bool()> setters,
43 ::std::function<void()> members
44 ) = 0;
45
46 virtual bool onMetaData(
47 ::std::string_view key,
48 uint id,
49 ::entt::meta_data data,
50 ::entt::meta_any from,
51 ::entt::meta_any to,
52 bool isDestinationOverridden,
53 ::std::function<void(::entt::meta_data, ::entt::meta_any&, ::entt::meta_data, ::entt::meta_any&)> cb
54 ) = 0;
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI void $dtor();
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
69
70} // namespace cereal
Definition MetaVisitor.h:15
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11