LeviLamina
Loading...
Searching...
No Matches
NBTSchemaReader.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
15public:
16 // NBTSchemaReader inner types declare
17 // clang-format off
18 struct State;
19 // clang-format on
20
21 // NBTSchemaReader inner types define
22 struct State {
23 public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 State& operator=(State const&);
33 State(State const&);
34 State();
35 };
36
37public:
38 // member variables
39 // NOLINTBEGIN
42 // NOLINTEND
43
44public:
45 // prevent constructor by default
46 NBTSchemaReader& operator=(NBTSchemaReader const&);
49
50public:
51 // virtual functions
52 // NOLINTBEGIN
53 // vIndex: 1
54 virtual bool isValid() const /*override*/;
55
56 // vIndex: 2
57 virtual bool isObject() const /*override*/;
58
59 // vIndex: 3
60 virtual bool isArray() const /*override*/;
61
62 // vIndex: 4
63 virtual bool isNull() const /*override*/;
64
65 // vIndex: 5
66 virtual ::Bedrock::Result<bool> asBool(::cereal::PropertyReader const&) /*override*/;
67
68 // vIndex: 6
69 virtual ::Bedrock::Result<schar> asInt8(::cereal::PropertyReader const&) /*override*/;
70
71 // vIndex: 7
72 virtual ::Bedrock::Result<uchar> asUInt8(::cereal::PropertyReader const&) /*override*/;
73
74 // vIndex: 8
75 virtual ::Bedrock::Result<short> asInt16(::cereal::PropertyReader const&) /*override*/;
76
77 // vIndex: 9
78 virtual ::Bedrock::Result<ushort> asUInt16(::cereal::PropertyReader const&) /*override*/;
79
80 // vIndex: 10
81 virtual ::Bedrock::Result<int> asInt32(::cereal::PropertyReader const&) /*override*/;
82
83 // vIndex: 11
84 virtual ::Bedrock::Result<uint> asUInt32(::cereal::PropertyReader const&) /*override*/;
85
86 // vIndex: 12
87 virtual ::Bedrock::Result<int64> asInt64(::cereal::PropertyReader const&) /*override*/;
88
89 // vIndex: 13
90 virtual ::Bedrock::Result<uint64> asUInt64(::cereal::PropertyReader const&) /*override*/;
91
92 // vIndex: 14
93 virtual ::Bedrock::Result<float> asFloat(::cereal::PropertyReader const&) /*override*/;
94
95 // vIndex: 15
96 virtual ::Bedrock::Result<double> asDouble(::cereal::PropertyReader const&) /*override*/;
97
98 // vIndex: 16
99 virtual ::Bedrock::Result<::std::string> asString(::cereal::PropertyReader const&) /*override*/;
100
101 // vIndex: 17
102 virtual uint64 members() /*override*/;
103
104 // vIndex: 18
105 virtual uint64 length() /*override*/;
106
107 // vIndex: 19
108 virtual bool pushMember(::std::string_view const name, ::cereal::PropertyReader const&) /*override*/;
109
110 // vIndex: 20
111 virtual ::std::string_view pushNextMember(::cereal::PropertyReader const&) /*override*/;
112
113 // vIndex: 21
114 virtual void pushElement(uint64 index, ::cereal::PropertyReader const&) /*override*/;
115
116 // vIndex: 22
117 virtual void pop() /*override*/;
118
119 // vIndex: 0
120 virtual ~NBTSchemaReader() /*override*/;
121 // NOLINTEND
122
123public:
124 // destructor thunk
125 // NOLINTBEGIN
126 MCFOLD void $dtor();
127 // NOLINTEND
128
129public:
130 // virtual function thunks
131 // NOLINTBEGIN
132 MCFOLD 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 MCAPI uint64 $members();
165
166 MCAPI uint64 $length();
167
168 MCAPI bool $pushMember(::std::string_view const name, ::cereal::PropertyReader const&);
169
170 MCAPI ::std::string_view $pushNextMember(::cereal::PropertyReader const&);
171
172 MCAPI void $pushElement(uint64 index, ::cereal::PropertyReader const&);
173
174 MCFOLD void $pop();
175 // NOLINTEND
176
177public:
178 // vftables
179 // NOLINTBEGIN
180 MCAPI static void** $vftable();
181 // NOLINTEND
182};
Definition NBTSchemaReader.h:14
Definition Result.h:6
STL namespace.
Definition NBTSchemaReader.h:22
Definition SchemaReader.h:15
Definition Alias.h:14