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