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/SerializerContext.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Puv::internal { struct PathElement; }
11namespace cereal { struct ReflectionCtx; }
12// clang-format on
13
14namespace Puv::internal {
15
17public:
18 // CerealUpgraderBase inner types declare
19 // clang-format off
20 struct UpgradeState;
21 // clang-format on
22
23 // CerealUpgraderBase inner types define
24 struct UpgradeState {
25 public:
26 // member variables
27 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 UpgradeState& operator=(UpgradeState const&);
39
40 public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI ~UpgradeState();
44 // NOLINTEND
45
46 public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCAPI void $dtor();
50 // NOLINTEND
51 };
52
53public:
54 // member variables
55 // NOLINTBEGIN
58 // NOLINTEND
59
60public:
61 // prevent constructor by default
62 CerealUpgraderBase& operator=(CerealUpgraderBase const&);
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI explicit CerealUpgraderBase(::cereal::ReflectionCtx const& ctx);
70
71 MCAPI void bindCallback(
72 ::std::function<void(::entt::meta_any&, ::entt::meta_any&)> cb,
73 ::std::vector<::std::string> source,
74 ::std::vector<::std::string> destination
75 );
76
77 MCAPI void copy(
78 ::entt::meta_any& inputAny_,
79 ::entt::meta_any& outputAny_,
81 ) const;
82
83 MCAPI void copyAssociative(
84 ::entt::meta_associative_container contFrom,
85 ::entt::meta_any& outputAny,
87 ) const;
88
89 MCAPI bool copyEnum(
90 ::entt::meta_any& source,
91 ::entt::meta_any& target,
93 ) const;
94
95 MCAPI void copyNotEnum(
96 ::entt::meta_any& inputAny,
97 ::entt::meta_any& outputAny,
99 ) const;
100
101 MCAPI void copyNotEnumImpl(
102 ::entt::meta_any& inputAny,
103 ::entt::meta_any& outputAny,
105 ) const;
106
107 MCAPI void copySequence(
108 ::entt::meta_sequence_container contFrom,
109 ::entt::meta_any& outputAny,
111 ) const;
112
113 MCAPI void ignore(::std::vector<::std::string> source);
114
115 MCAPI int iterate(
116 ::entt::meta_type const& type,
117 ::entt::meta_any& inputAny,
118 ::entt::meta_any& outputAny,
120 ) const;
121
122 MCAPI void move(::std::vector<::std::string> source, ::std::vector<::std::string> destination);
123
124 MCAPI void unwrapOrCopy(
125 ::entt::meta_any& inputAny,
126 ::entt::meta_any& outputAny,
128 ) const;
129
130 MCAPI ~CerealUpgraderBase();
131 // NOLINTEND
132
133public:
134 // static functions
135 // NOLINTBEGIN
136 MCAPI static ::std::vector<::std::pair<::cereal::SerializerContext::ContextType, ::std::string>>
137 buildPath(::std::vector<::Puv::internal::PathElement> const& path);
138
139 MCAPI static ::entt::meta_any
140 constructOrLog(::entt::meta_type const& t, ::Puv::internal::CerealUpgraderBase::UpgradeState& state);
141 // NOLINTEND
142
143public:
144 // constructor thunks
145 // NOLINTBEGIN
146 MCAPI void* $ctor(::cereal::ReflectionCtx const& ctx);
147 // NOLINTEND
148
149public:
150 // destructor thunk
151 // NOLINTBEGIN
152 MCAPI void $dtor();
153 // NOLINTEND
154};
155
156} // namespace Puv::internal
Definition CerealUpgraderBase.h:16
Definition CerealUpgraderBase.h:24
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14