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