LeviLamina
Loading...
Searching...
No Matches
SchemaWriter.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
9// auto generated forward declare list
10// clang-format off
11namespace cereal { struct NullType; }
12// clang-format on
13
14namespace cereal {
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual bool write(::cereal::NullType) = 0;
21
22 virtual bool write(bool) = 0;
23
24 virtual bool write(schar) = 0;
25
26 virtual bool write(uchar) = 0;
27
28 virtual bool write(short) = 0;
29
30 virtual bool write(ushort) = 0;
31
32 virtual bool write(int) = 0;
33
34 virtual bool write(uint) = 0;
35
36 virtual bool write(int64) = 0;
37
38 virtual bool write(uint64) = 0;
39
40 virtual bool write(float) = 0;
41
42 virtual bool write(double) = 0;
43
44 virtual bool write(::std::string_view const) = 0;
45
46 virtual bool write(::gsl::span<uchar const>) = 0;
47
48 virtual void writeValidityFlag(bool) = 0;
49
50 virtual void writeControlValue(uint) = 0;
51
52 virtual bool pushMember(::std::string_view const) = 0;
53
54 virtual void popMember() = 0;
55
56 virtual ::cereal::SchemaRWType openObject() = 0;
57
58 virtual ::cereal::SchemaRWType openArray(bool, uint64) = 0;
59
60 virtual void close() = 0;
61
62 virtual ~SchemaWriter() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68
69 // NOLINTEND
70};
71
72} // namespace cereal
Definition NullType.h:7
Definition SchemaWriter.h:16
Definition SerializationTraitsSupport.h:7