LeviLamina
Loading...
Searching...
No Matches
BinarySchemaReader.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 // BinarySchemaReader inner types define
19 enum class ElemType : int {
20 None = 0,
21 Object = 1,
22 Array = 2,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 BinarySchemaReader& operator=(BinarySchemaReader const&);
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 1
45 virtual bool isValid() const /*override*/;
46
47 // vIndex: 2
48 virtual bool isObject() const /*override*/;
49
50 // vIndex: 3
51 virtual bool isArray() const /*override*/;
52
53 // vIndex: 4
54 virtual bool isNull() const /*override*/;
55
56 // vIndex: 5
57 virtual ::Bedrock::Result<bool> asBool(::cereal::PropertyReader const&) /*override*/;
58
59 // vIndex: 6
60 virtual ::Bedrock::Result<schar> asInt8(::cereal::PropertyReader const&) /*override*/;
61
62 // vIndex: 7
63 virtual ::Bedrock::Result<uchar> asUInt8(::cereal::PropertyReader const&) /*override*/;
64
65 // vIndex: 8
66 virtual ::Bedrock::Result<short> asInt16(::cereal::PropertyReader const&) /*override*/;
67
68 // vIndex: 9
69 virtual ::Bedrock::Result<ushort> asUInt16(::cereal::PropertyReader const&) /*override*/;
70
71 // vIndex: 10
72 virtual ::Bedrock::Result<int> asInt32(::cereal::PropertyReader const&) /*override*/;
73
74 // vIndex: 11
75 virtual ::Bedrock::Result<uint> asUInt32(::cereal::PropertyReader const&) /*override*/;
76
77 // vIndex: 12
78 virtual ::Bedrock::Result<int64> asInt64(::cereal::PropertyReader const&) /*override*/;
79
80 // vIndex: 13
81 virtual ::Bedrock::Result<uint64> asUInt64(::cereal::PropertyReader const&) /*override*/;
82
83 // vIndex: 14
84 virtual ::Bedrock::Result<float> asFloat(::cereal::PropertyReader const&) /*override*/;
85
86 // vIndex: 15
87 virtual ::Bedrock::Result<double> asDouble(::cereal::PropertyReader const&) /*override*/;
88
89 // vIndex: 16
90 virtual ::Bedrock::Result<::std::string> asString(::cereal::PropertyReader const&) /*override*/;
91
92 // vIndex: 17
93 virtual uint64 members() /*override*/;
94
95 // vIndex: 18
96 virtual uint64 length() /*override*/;
97
98 // vIndex: 19
99 virtual bool pushMember(::std::string_view const, ::cereal::PropertyReader const& prop) /*override*/;
100
101 // vIndex: 20
102 virtual ::std::string_view pushNextMember(::cereal::PropertyReader const& prop) /*override*/;
103
104 // vIndex: 21
105 virtual void pushElement(uint64, ::cereal::PropertyReader const& prop) /*override*/;
106
107 // vIndex: 22
108 virtual void pop() /*override*/;
109
110 // vIndex: 23
111 virtual bool isSequenceReader() const /*override*/;
112
113 // vIndex: 0
114 virtual ~BinarySchemaReader() /*override*/;
115 // NOLINTEND
116
117public:
118 // member functions
119 // NOLINTBEGIN
120 MCAPI void pushStateIf(::cereal::PropertyReader const& prop);
121 // NOLINTEND
122
123public:
124 // destructor thunk
125 // NOLINTBEGIN
126 MCAPI void $dtor();
127 // NOLINTEND
128
129public:
130 // virtual function thunks
131 // NOLINTBEGIN
132 MCAPI bool $isValid() const;
133
134 MCAPI bool $isObject() const;
135
136 MCAPI bool $isArray() const;
137
138 MCFOLD bool $isNull() const;
139
140 MCAPI ::Bedrock::Result<bool> $asBool(::cereal::PropertyReader const&);
141
142 MCAPI ::Bedrock::Result<schar> $asInt8(::cereal::PropertyReader const&);
143
144 MCAPI ::Bedrock::Result<uchar> $asUInt8(::cereal::PropertyReader const&);
145
146 MCAPI ::Bedrock::Result<short> $asInt16(::cereal::PropertyReader const&);
147
148 MCAPI ::Bedrock::Result<ushort> $asUInt16(::cereal::PropertyReader const&);
149
150 MCAPI ::Bedrock::Result<int> $asInt32(::cereal::PropertyReader const&);
151
152 MCAPI ::Bedrock::Result<uint> $asUInt32(::cereal::PropertyReader const&);
153
154 MCAPI ::Bedrock::Result<int64> $asInt64(::cereal::PropertyReader const&);
155
156 MCAPI ::Bedrock::Result<uint64> $asUInt64(::cereal::PropertyReader const&);
157
158 MCAPI ::Bedrock::Result<float> $asFloat(::cereal::PropertyReader const&);
159
160 MCAPI ::Bedrock::Result<double> $asDouble(::cereal::PropertyReader const&);
161
162 MCAPI ::Bedrock::Result<::std::string> $asString(::cereal::PropertyReader const&);
163
164 MCFOLD uint64 $members();
165
166 MCAPI uint64 $length();
167
168 MCAPI bool $pushMember(::std::string_view const, ::cereal::PropertyReader const& prop);
169
170 MCAPI ::std::string_view $pushNextMember(::cereal::PropertyReader const& prop);
171
172 MCAPI void $pushElement(uint64, ::cereal::PropertyReader const& prop);
173
174 MCAPI void $pop();
175
176 MCFOLD bool $isSequenceReader() const;
177 // NOLINTEND
178
179public:
180 // vftables
181 // NOLINTBEGIN
182 MCAPI static void** $vftable();
183 // NOLINTEND
184};
185
186} // namespace cereal
Definition BinarySchemaReader.h:16
Definition PropertyReader.h:7
Definition SchemaReader.h:15
Definition Alias.h:14