Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CerealUpgraderVisitor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/MetaVisitor.h"
7
8namespace Puv::internal {
9
10class CerealUpgraderVisitor : public ::cereal::MetaVisitor {
11public:
12 // member variables
13 // NOLINTBEGIN
16 // NOLINTEND
17
18public:
19 // prevent constructor by default
20 CerealUpgraderVisitor& operator=(CerealUpgraderVisitor const&);
21 CerealUpgraderVisitor(CerealUpgraderVisitor const&);
22 CerealUpgraderVisitor();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual void log(::std::string msg) /*override*/;
28
29 virtual bool hasErrors() const /*override*/;
30
31 virtual void onSequenceContainer(uint64 index, ::std::function<bool()> cb) /*override*/;
32
33 virtual void onAssociativeContainer(::std::string_view key, ::std::function<bool()> cb) /*override*/;
34
35 virtual void onAssociativeContainer(uint64 index, ::std::function<bool()> cb) /*override*/;
36
37 virtual void onSetter(::std::function<bool()> cb) /*override*/;
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 ::std::shared_ptr<void> const& visitorData
45 ) /*override*/;
46
47 virtual bool onMetaData(
48 ::std::string_view key,
49 uint id,
50 ::entt::meta_data sourceData,
51 ::entt::meta_data targetData,
52 ::entt::meta_any from,
53 ::entt::meta_any to,
54 bool isDestinationOverridden,
55 ::std::function<void(::entt::meta_data, ::entt::meta_any&, ::entt::meta_data, ::entt::meta_any&)> cb,
56 ::std::shared_ptr<void> const& visitorData
57 ) /*override*/;
58
59 virtual ~CerealUpgraderVisitor() /*override*/;
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCNAPI void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCNAPI void $log(::std::string msg);
72
73 MCNAPI bool $hasErrors() const;
74
75 MCNAPI void $onSequenceContainer(uint64 index, ::std::function<bool()> cb);
76
77 MCNAPI void $onAssociativeContainer(::std::string_view key, ::std::function<bool()> cb);
78
79 MCNAPI void $onAssociativeContainer(uint64 index, ::std::function<bool()> cb);
80
81 MCNAPI void $onSetter(::std::function<bool()> cb);
82
83 MCNAPI void $onMetaType(
84 ::entt::meta_any from,
85 ::entt::meta_any to,
86 ::std::function<bool()> setters,
87 ::std::function<void()> members,
88 ::std::shared_ptr<void> const& visitorData
89 );
90
91 MCNAPI bool $onMetaData(
92 ::std::string_view key,
93 uint id,
94 ::entt::meta_data sourceData,
95 ::entt::meta_data targetData,
96 ::entt::meta_any from,
97 ::entt::meta_any to,
98 bool isDestinationOverridden,
99 ::std::function<void(::entt::meta_data, ::entt::meta_any&, ::entt::meta_data, ::entt::meta_any&)> cb,
100 ::std::shared_ptr<void> const& visitorData
101 );
102
103
104 // NOLINTEND
105
106public:
107 // vftables
108 // NOLINTBEGIN
109 MCNAPI static void** $vftable();
110 // NOLINTEND
111};
112
113} // namespace Puv::internal
MCAPI void $onSequenceContainer(uint64 index, ::std::function< bool()> cb)
MCAPI bool $onMetaData(::std::string_view key, uint id, ::entt::meta_data sourceData, ::entt::meta_data targetData, ::entt::meta_any from, ::entt::meta_any to, bool isDestinationOverridden, ::std::function< void(::entt::meta_data, ::entt::meta_any &, ::entt::meta_data, ::entt::meta_any &)> cb, ::std::shared_ptr< void > const &visitorData)
MCAPI void $onAssociativeContainer(::std::string_view key, ::std::function< bool()> cb)
MCAPI void $onAssociativeContainer(uint64 index, ::std::function< bool()> cb)
MCAPI void $onSetter(::std::function< bool()> cb)
MCAPI void $log(::std::string msg)
static MCAPI void ** $vftable()
MCAPI void $onMetaType(::entt::meta_any from, ::entt::meta_any to, ::std::function< bool()> setters, ::std::function< void()> members, ::std::shared_ptr< void > const &visitorData)
Definition MetaVisitor.h:15
Definition Alias.h:14