LeviLamina
Loading...
Searching...
No Matches
DynamicValueSchemaReader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/schema/SchemaReader.h"
7#include "mc/platform/Result.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cereal { class DynamicValue; }
12namespace cereal { class PropertyReader; }
13// clang-format on
14
15namespace cereal {
16
18public:
19 // DynamicValueSchemaReader inner types declare
20 // clang-format off
21 struct State;
22 // clang-format on
23
24 // DynamicValueSchemaReader inner types define
25 struct State {
26 public:
27 // member variables
28 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 State& operator=(State const&);
36 State(State const&);
37 State();
38 };
39
40public:
41 // member variables
42 // NOLINTBEGIN
44 // NOLINTEND
45
46public:
47 // prevent constructor by default
51
52public:
53 // virtual functions
54 // NOLINTBEGIN
55 // vIndex: 1
56 virtual bool isValid() const /*override*/;
57
58 // vIndex: 2
59 virtual bool isObject() const /*override*/;
60
61 // vIndex: 3
62 virtual bool isArray() const /*override*/;
63
64 // vIndex: 4
65 virtual bool isNull() const /*override*/;
66
67 // vIndex: 5
68 virtual ::Bedrock::Result<bool> asBool(::cereal::PropertyReader const&) /*override*/;
69
70 // vIndex: 6
71 virtual ::Bedrock::Result<schar> asInt8(::cereal::PropertyReader const&) /*override*/;
72
73 // vIndex: 7
74 virtual ::Bedrock::Result<uchar> asUInt8(::cereal::PropertyReader const&) /*override*/;
75
76 // vIndex: 8
77 virtual ::Bedrock::Result<short> asInt16(::cereal::PropertyReader const&) /*override*/;
78
79 // vIndex: 9
80 virtual ::Bedrock::Result<ushort> asUInt16(::cereal::PropertyReader const&) /*override*/;
81
82 // vIndex: 10
83 virtual ::Bedrock::Result<int> asInt32(::cereal::PropertyReader const&) /*override*/;
84
85 // vIndex: 11
86 virtual ::Bedrock::Result<uint> asUInt32(::cereal::PropertyReader const&) /*override*/;
87
88 // vIndex: 12
89 virtual ::Bedrock::Result<int64> asInt64(::cereal::PropertyReader const&) /*override*/;
90
91 // vIndex: 13
92 virtual ::Bedrock::Result<uint64> asUInt64(::cereal::PropertyReader const&) /*override*/;
93
94 // vIndex: 14
95 virtual ::Bedrock::Result<float> asFloat(::cereal::PropertyReader const&) /*override*/;
96
97 // vIndex: 15
98 virtual ::Bedrock::Result<double> asDouble(::cereal::PropertyReader const&) /*override*/;
99
100 // vIndex: 16
101 virtual ::Bedrock::Result<::std::string> asString(::cereal::PropertyReader const&) /*override*/;
102
103 // vIndex: 17
104 virtual uint64 members() /*override*/;
105
106 // vIndex: 18
107 virtual uint64 length() /*override*/;
108
109 // vIndex: 19
110 virtual bool pushMember(::std::string_view const name, ::cereal::PropertyReader const&) /*override*/;
111
112 // vIndex: 20
113 virtual ::std::string_view pushNextMember(::cereal::PropertyReader const&) /*override*/;
114
115 // vIndex: 21
116 virtual void pushElement(uint64 index, ::cereal::PropertyReader const&) /*override*/;
117
118 // vIndex: 22
119 virtual void pop() /*override*/;
120
121 // vIndex: 0
122 virtual ~DynamicValueSchemaReader() /*override*/;
123 // NOLINTEND
124
125public:
126 // member functions
127 // NOLINTBEGIN
128 MCAPI explicit DynamicValueSchemaReader(::std::reference_wrapper<::cereal::DynamicValue const> ref);
129 // NOLINTEND
130
131public:
132 // constructor thunks
133 // NOLINTBEGIN
134 MCAPI void* $ctor(::std::reference_wrapper<::cereal::DynamicValue const> ref);
135 // NOLINTEND
136
137public:
138 // destructor thunk
139 // NOLINTBEGIN
140 MCAPI void $dtor();
141 // NOLINTEND
142
143public:
144 // virtual function thunks
145 // NOLINTBEGIN
146 MCFOLD bool $isValid() const;
147
148 MCAPI bool $isObject() const;
149
150 MCAPI bool $isArray() const;
151
152 MCAPI bool $isNull() const;
153
154 MCAPI ::Bedrock::Result<bool> $asBool(::cereal::PropertyReader const&);
155
156 MCAPI ::Bedrock::Result<schar> $asInt8(::cereal::PropertyReader const&);
157
158 MCAPI ::Bedrock::Result<uchar> $asUInt8(::cereal::PropertyReader const&);
159
160 MCAPI ::Bedrock::Result<short> $asInt16(::cereal::PropertyReader const&);
161
162 MCAPI ::Bedrock::Result<ushort> $asUInt16(::cereal::PropertyReader const&);
163
164 MCAPI ::Bedrock::Result<int> $asInt32(::cereal::PropertyReader const&);
165
166 MCAPI ::Bedrock::Result<uint> $asUInt32(::cereal::PropertyReader const&);
167
168 MCAPI ::Bedrock::Result<int64> $asInt64(::cereal::PropertyReader const&);
169
170 MCAPI ::Bedrock::Result<uint64> $asUInt64(::cereal::PropertyReader const&);
171
172 MCAPI ::Bedrock::Result<float> $asFloat(::cereal::PropertyReader const&);
173
174 MCAPI ::Bedrock::Result<double> $asDouble(::cereal::PropertyReader const&);
175
176 MCAPI ::Bedrock::Result<::std::string> $asString(::cereal::PropertyReader const&);
177
178 MCAPI uint64 $members();
179
180 MCAPI uint64 $length();
181
182 MCAPI bool $pushMember(::std::string_view const name, ::cereal::PropertyReader const&);
183
184 MCAPI ::std::string_view $pushNextMember(::cereal::PropertyReader const&);
185
186 MCAPI void $pushElement(uint64 index, ::cereal::PropertyReader const&);
187
188 MCFOLD void $pop();
189 // NOLINTEND
190
191public:
192 // vftables
193 // NOLINTBEGIN
194 MCAPI static void** $vftable();
195 // NOLINTEND
196};
197
198} // namespace cereal
Definition Result.h:6
Definition DynamicValueSchemaReader.h:17
Definition DynamicValue.h:12
Definition PropertyReader.h:7
STL namespace.
Definition DynamicValueSchemaReader.h:25
Definition SchemaReader.h:15
Definition Alias.h:14