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