LeviLamina
Loading...
Searching...
No Matches
SchemaReader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7
8namespace cereal {
9
11public:
12 // SchemaReader inner types declare
13 // clang-format off
14 struct ScopedPop;
15 // clang-format on
16
17 // SchemaReader inner types define
18 struct ScopedPop {
19 public:
20 // member variables
21 // NOLINTBEGIN
23 // NOLINTEND
24
25 public:
26 // prevent constructor by default
27 ScopedPop& operator=(ScopedPop const&);
28 ScopedPop(ScopedPop const&);
29 ScopedPop();
30
31 public:
32 // member functions
33 // NOLINTBEGIN
34 MCNAPI ~ScopedPop();
35 // NOLINTEND
36
37 public:
38 // destructor thunk
39 // NOLINTBEGIN
40 MCNAPI void $dtor();
41 // NOLINTEND
42 };
43
44public:
45 // member variables
46 // NOLINTBEGIN
48 // NOLINTEND
49
50public:
51 // prevent constructor by default
52 SchemaReader& operator=(SchemaReader const&);
55
56public:
57 // virtual functions
58 // NOLINTBEGIN
59 // vIndex: 0
60 virtual ~SchemaReader() = default;
61
62 // vIndex: 1
63 virtual bool isValid() const = 0;
64
65 // vIndex: 2
66 virtual bool isObject() const = 0;
67
68 // vIndex: 3
69 virtual bool isArray() const = 0;
70
71 // vIndex: 4
72 virtual bool isNull() const = 0;
73
74 // vIndex: 5
75 virtual ::Bedrock::Result<bool> asBool() = 0;
76
77 // vIndex: 6
78 virtual ::Bedrock::Result<schar> asInt8() = 0;
79
80 // vIndex: 7
81 virtual ::Bedrock::Result<uchar> asUInt8() = 0;
82
83 // vIndex: 8
84 virtual ::Bedrock::Result<short> asInt16() = 0;
85
86 // vIndex: 9
87 virtual ::Bedrock::Result<ushort> asUInt16() = 0;
88
89 // vIndex: 10
90 virtual ::Bedrock::Result<int> asInt32() = 0;
91
92 // vIndex: 11
93 virtual ::Bedrock::Result<uint> asUInt32() = 0;
94
95 // vIndex: 12
96 virtual ::Bedrock::Result<int64> asInt64() = 0;
97
98 // vIndex: 13
99 virtual ::Bedrock::Result<uint64> asUInt64() = 0;
100
101 // vIndex: 14
102 virtual ::Bedrock::Result<float> asFloat() = 0;
103
104 // vIndex: 15
105 virtual ::Bedrock::Result<double> asDouble() = 0;
106
107 // vIndex: 16
108 virtual ::Bedrock::Result<::std::string> asString() = 0;
109
110 // vIndex: 17
111 virtual uint64 members() = 0;
112
113 // vIndex: 18
114 virtual uint64 length() = 0;
115
116 // vIndex: 19
117 virtual bool pushMember(::std::string_view const) = 0;
118
119 // vIndex: 20
120 virtual ::std::string_view pushNextMember() = 0;
121
122 // vIndex: 21
123 virtual void pushElement(uint64) = 0;
124
125 // vIndex: 22
126 virtual void pop() = 0;
127 // NOLINTEND
128
129public:
130 // virtual function thunks
131 // NOLINTBEGIN
132
133 // NOLINTEND
134};
135
136} // namespace cereal
Definition SchemaReader.h:18
Definition SchemaReader.h:10
Definition Alias.h:14