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