LeviLamina
Loading...
Searching...
No Matches
StrictRapidJSONSchemaReader.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 PropertyReader; }
12// clang-format on
13
14namespace cereal {
15
17public:
18 // StrictRapidJSONSchemaReader inner types declare
19 // clang-format off
20 struct State;
21 // clang-format on
22
23 // StrictRapidJSONSchemaReader inner types define
24 struct State {
25 public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 State& operator=(State const&);
35 State(State const&);
36 State();
37 };
38
39public:
40 // member variables
41 // 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 ~StrictRapidJSONSchemaReader() /*override*/;
123 // NOLINTEND
124
125public:
126 // member functions
127 // NOLINTBEGIN
128 MCAPI explicit StrictRapidJSONSchemaReader(::std::string const& data);
129
130 MCAPI explicit StrictRapidJSONSchemaReader(::rapidjson::GenericValue<
131 ::rapidjson::UTF8<char>,
132 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>> const& value
133 );
134 // NOLINTEND
135
136public:
137 // constructor thunks
138 // NOLINTBEGIN
139 MCAPI void* $ctor(::std::string const& data);
140
141 MCAPI void* $ctor(::rapidjson::GenericValue<
142 ::rapidjson::UTF8<char>,
143 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>> const& value);
144 // NOLINTEND
145
146public:
147 // destructor thunk
148 // NOLINTBEGIN
149 MCFOLD void $dtor();
150 // NOLINTEND
151
152public:
153 // virtual function thunks
154 // NOLINTBEGIN
155 MCFOLD bool $isValid() const;
156
157 MCFOLD bool $isObject() const;
158
159 MCFOLD bool $isArray() const;
160
161 MCFOLD bool $isNull() const;
162
163 MCAPI ::Bedrock::Result<bool> $asBool(::cereal::PropertyReader const&);
164
165 MCAPI ::Bedrock::Result<schar> $asInt8(::cereal::PropertyReader const&);
166
167 MCAPI ::Bedrock::Result<uchar> $asUInt8(::cereal::PropertyReader const&);
168
169 MCAPI ::Bedrock::Result<short> $asInt16(::cereal::PropertyReader const&);
170
171 MCAPI ::Bedrock::Result<ushort> $asUInt16(::cereal::PropertyReader const&);
172
173 MCAPI ::Bedrock::Result<int> $asInt32(::cereal::PropertyReader const&);
174
175 MCAPI ::Bedrock::Result<uint> $asUInt32(::cereal::PropertyReader const&);
176
177 MCAPI ::Bedrock::Result<int64> $asInt64(::cereal::PropertyReader const&);
178
179 MCAPI ::Bedrock::Result<uint64> $asUInt64(::cereal::PropertyReader const&);
180
181 MCAPI ::Bedrock::Result<float> $asFloat(::cereal::PropertyReader const&);
182
183 MCAPI ::Bedrock::Result<double> $asDouble(::cereal::PropertyReader const&);
184
185 MCAPI ::Bedrock::Result<::std::string> $asString(::cereal::PropertyReader const&);
186
187 MCFOLD uint64 $members();
188
189 MCFOLD uint64 $length();
190
191 MCFOLD bool $pushMember(::std::string_view const name, ::cereal::PropertyReader const&);
192
193 MCFOLD ::std::string_view $pushNextMember(::cereal::PropertyReader const&);
194
195 MCFOLD void $pushElement(uint64 index, ::cereal::PropertyReader const&);
196
197 MCFOLD void $pop();
198 // NOLINTEND
199
200public:
201 // vftables
202 // NOLINTBEGIN
203 MCAPI static void** $vftable();
204 // NOLINTEND
205};
206
207} // namespace cereal
Definition Result.h:6
Definition PropertyReader.h:7
Definition StrictRapidJSONSchemaReader.h:16
STL namespace.
Definition SchemaReader.h:15
Definition StrictRapidJSONSchemaReader.h:24
Definition Alias.h:14