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