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
15 // NOLINTEND
16
17public:
18 // prevent constructor by default
19 CerealUpgraderVisitor& operator=(CerealUpgraderVisitor const&);
20 CerealUpgraderVisitor(CerealUpgraderVisitor const&);
21 CerealUpgraderVisitor();
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual void log(::std::string msg) /*override*/;
27
28 virtual bool hasErrors() const /*override*/;
29
30 virtual void onSequenceContainer(uint64 index, ::std::function<bool()> cb) /*override*/;
31
32 virtual void onAssociativeContainer(::std::string_view key, ::std::function<bool()> cb) /*override*/;
33
34 virtual void onAssociativeContainer(uint64 index, ::std::function<bool()> cb) /*override*/;
35
36 virtual void onSetter(::std::function<bool()> cb) /*override*/;
37
38 virtual void onMetaType(
39 ::entt::meta_any from,
40 ::entt::meta_any to,
41 ::std::function<bool()> setters,
42 ::std::function<void()> members
43 ) /*override*/;
44
45 virtual bool onMetaData(
46 ::std::string_view key,
47 uint id,
48 ::entt::meta_data data,
49 ::entt::meta_any from,
50 ::entt::meta_any to,
51 bool isDestinationOverridden,
52 ::std::function<void(::entt::meta_data, ::entt::meta_any&, ::entt::meta_data, ::entt::meta_any&)> cb
53 ) /*override*/;
54
55 virtual ~CerealUpgraderVisitor() /*override*/;
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCNAPI void $dtor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCNAPI void $log(::std::string msg);
68
69 MCNAPI bool $hasErrors() const;
70
71 MCNAPI void $onSequenceContainer(uint64 index, ::std::function<bool()> cb);
72
73 MCNAPI void $onAssociativeContainer(::std::string_view key, ::std::function<bool()> cb);
74
75 MCNAPI void $onAssociativeContainer(uint64 index, ::std::function<bool()> cb);
76
77 MCNAPI void $onSetter(::std::function<bool()> cb);
78
79 MCNAPI void $onMetaType(
80 ::entt::meta_any from,
81 ::entt::meta_any to,
82 ::std::function<bool()> setters,
83 ::std::function<void()> members
84 );
85
86 MCNAPI bool $onMetaData(
87 ::std::string_view key,
88 uint id,
89 ::entt::meta_data data,
90 ::entt::meta_any from,
91 ::entt::meta_any to,
92 bool isDestinationOverridden,
93 ::std::function<void(::entt::meta_data, ::entt::meta_any&, ::entt::meta_data, ::entt::meta_any&)> cb
94 );
95
96
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCNAPI static void** $vftable();
103 // NOLINTEND
104};
105
106} // namespace Puv::internal
MCAPI void $onSequenceContainer(uint64 index, ::std::function< bool()> cb)
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)
MCAPI bool $onMetaData(::std::string_view key, uint id, ::entt::meta_data data, ::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)
Definition MetaVisitor.h:15
Definition Alias.h:14