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