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