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