LeviLamina
Loading...
Searching...
No Matches
CerealUpgraderBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/BasicSerializerContext.h"
7#include "mc/deps/core/container/small_vector.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Puv { class Logger; }
12namespace Puv::internal { struct PathElement; }
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
16namespace Puv::internal {
17
19public:
20 // CerealUpgraderBase inner types declare
21 // clang-format off
22 struct AlterationNode;
23 struct UpgradeState;
24 // clang-format on
25
26 // CerealUpgraderBase inner types define
28 public:
29 // member variables
30 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 AlterationNode& operator=(AlterationNode const&);
40
41 public:
42 // member functions
43 // NOLINTBEGIN
45 // NOLINTEND
46
47 public:
48 // static functions
49 // NOLINTBEGIN
50 MCNAPI static void fill(
52 ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::std::string>>> it,
53 ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::std::string>>> end,
54 ::std::variant<
55 ::std::monostate,
56 ::std::pair<
57 ::std::function<void(::entt::meta_any&, ::entt::meta_any&)>,
59 );
60 // NOLINTEND
61
62 public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCNAPI void $dtor();
66 // NOLINTEND
67 };
68
69 struct UpgradeState {
70 public:
71 // member variables
72 // NOLINTBEGIN
78 // NOLINTEND
79
80 public:
81 // prevent constructor by default
82 UpgradeState& operator=(UpgradeState const&);
85
86 public:
87 // member functions
88 // NOLINTBEGIN
89 MCNAPI ~UpgradeState();
90 // NOLINTEND
91
92 public:
93 // destructor thunk
94 // NOLINTBEGIN
95 MCNAPI void $dtor();
96 // NOLINTEND
97 };
98
99public:
100 // member variables
101 // NOLINTBEGIN
104 // NOLINTEND
105
106public:
107 // prevent constructor by default
108 CerealUpgraderBase& operator=(CerealUpgraderBase const&);
111
112public:
113 // member functions
114 // NOLINTBEGIN
116
117 MCNAPI void bindCallback(
118 ::std::function<void(::entt::meta_any&, ::entt::meta_any&)> cb,
119 ::std::vector<::std::string> const& source,
120 ::std::vector<::std::string> destination
121 );
122
123 MCNAPI void copy(
124 ::entt::meta_any& inputAny_,
125 ::entt::meta_any& outputAny_,
127 ) const;
128
129 MCNAPI void copyAssociative(
130 ::entt::meta_associative_container contFrom,
131 ::entt::meta_any& outputAny,
133 ) const;
134
135 MCNAPI bool copyEnum(
136 ::entt::meta_any& source,
137 ::entt::meta_any& target,
139 ) const;
140
141 MCNAPI void copyNotEnum(
142 ::entt::meta_any& inputAny,
143 ::entt::meta_any& outputAny,
145 ) const;
146
147 MCNAPI void copyNotEnumImpl(
148 ::entt::meta_any& inputAny,
149 ::entt::meta_any& outputAny,
151 ) const;
152
153 MCNAPI void copySequence(
154 ::entt::meta_sequence_container contFrom,
155 ::entt::meta_any& outputAny,
157 ) const;
158
159 MCNAPI bool isSupported(::entt::meta_type const& t) const;
160
161 MCNAPI int iterate(
162 ::entt::meta_type const& type,
163 ::entt::meta_any& inputAny,
164 ::entt::meta_any& outputAny,
166 ) const;
167
168 MCNAPI void move(::std::vector<::std::string> const& source, ::std::vector<::std::string> destination);
169
170 MCNAPI void performUpgrade(::entt::meta_any& source, ::entt::meta_any destination, ::Puv::Logger& log) const;
171
172 MCNAPI void unwrapOrCopy(
173 ::entt::meta_any& inputAny,
174 ::entt::meta_any& outputAny,
176 ) const;
177
179 // NOLINTEND
180
181public:
182 // static functions
183 // NOLINTBEGIN
184 MCNAPI static ::std::vector<::std::pair<::cereal::BasicSerializerContext::ContextType, ::std::string>>
186
187 MCNAPI static ::entt::meta_any
189 // NOLINTEND
190
191public:
192 // constructor thunks
193 // NOLINTBEGIN
194 MCNAPI void* $ctor(::cereal::ReflectionCtx const& ctx);
195 // NOLINTEND
196
197public:
198 // destructor thunk
199 // NOLINTBEGIN
200 MCNAPI void $dtor();
201 // NOLINTEND
202};
203
204} // namespace Puv::internal
Definition small_vector.h:8
Definition Logger.h:12
Definition CerealUpgraderBase.h:18
MCAPI void move(::std::vector<::std::string > const &source, ::std::vector<::std::string > destination)
MCAPI void * $ctor(::cereal::ReflectionCtx const &ctx)
MCAPI CerealUpgraderBase(::cereal::ReflectionCtx const &ctx)
static MCAPI ::std::vector<::std::pair<::cereal::BasicSerializerContext::ContextType, ::std::string > > buildPath(::Bedrock::small_vector<::Puv::internal::PathElement, 1 > const &path)
static MCAPI ::entt::meta_any constructOrLog(::entt::meta_type const &t, ::Puv::internal::CerealUpgraderBase::UpgradeState &state)
MCAPI void copyAssociative(::entt::meta_associative_container contFrom, ::entt::meta_any &outputAny, ::Puv::internal::CerealUpgraderBase::UpgradeState &state) const
MCAPI void bindCallback(::std::function< void(::entt::meta_any &, ::entt::meta_any &)> cb, ::std::vector<::std::string > const &source, ::std::vector<::std::string > destination)
MCAPI void copyNotEnumImpl(::entt::meta_any &inputAny, ::entt::meta_any &outputAny, ::Puv::internal::CerealUpgraderBase::UpgradeState &state) const
MCAPI void copy(::entt::meta_any &inputAny_, ::entt::meta_any &outputAny_, ::Puv::internal::CerealUpgraderBase::UpgradeState &state) const
MCAPI void copySequence(::entt::meta_sequence_container contFrom, ::entt::meta_any &outputAny, ::Puv::internal::CerealUpgraderBase::UpgradeState &state) const
MCAPI void unwrapOrCopy(::entt::meta_any &inputAny, ::entt::meta_any &outputAny, ::Puv::internal::CerealUpgraderBase::UpgradeState &state) const
MCAPI bool copyEnum(::entt::meta_any &source, ::entt::meta_any &target, ::Puv::internal::CerealUpgraderBase::UpgradeState &state) const
MCAPI bool isSupported(::entt::meta_type const &t) const
MCAPI void copyNotEnum(::entt::meta_any &inputAny, ::entt::meta_any &outputAny, ::Puv::internal::CerealUpgraderBase::UpgradeState &state) const
MCAPI int iterate(::entt::meta_type const &type, ::entt::meta_any &inputAny, ::entt::meta_any &outputAny, ::Puv::internal::CerealUpgraderBase::UpgradeState &state) const
MCAPI void performUpgrade(::entt::meta_any &source, ::entt::meta_any destination, ::Puv::Logger &log) const
Definition CerealUpgraderBase.h:27
static MCAPI void fill(::Puv::internal::CerealUpgraderBase::AlterationNode &node, ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::std::string > > > it, ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::std::string > > > end, ::std::variant< ::std::monostate, ::std::pair< ::std::function< void(::entt::meta_any &, ::entt::meta_any &)>, ::Bedrock::small_vector<::Puv::internal::PathElement, 1 > > > alt)
Definition CerealUpgraderBase.h:69
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14