LeviLamina
Loading...
Searching...
No Matches
BasicSerializerContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace cereal {
6
8public:
9 // BasicSerializerContext inner types declare
10 // clang-format off
11 struct Context;
12 struct ContextStack;
13 struct LogEntry;
14 // clang-format on
15
16 // BasicSerializerContext inner types define
17 enum class ContextType : int {
18 ArrayElem = 0,
19 Member = 1,
20 Root = 2,
21 };
22
23 struct Context {
24 public:
25 // member variables
26 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 Context& operator=(Context const&);
35 Context(Context const&);
36 Context();
37
38 public:
39 // member functions
40 // NOLINTBEGIN
41 MCNAPI ~Context();
42 // NOLINTEND
43
44 public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49 };
50
51 struct LogEntry {
52 public:
53 // member variables
54 // NOLINTBEGIN
59 // NOLINTEND
60
61 public:
62 // prevent constructor by default
63 LogEntry& operator=(LogEntry const&);
64 LogEntry(LogEntry const&);
65 LogEntry();
66
67 public:
68 // member functions
69 // NOLINTBEGIN
70 MCNAPI ~LogEntry();
71 // NOLINTEND
72
73 public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCNAPI void $dtor();
77 // NOLINTEND
78 };
79
80 struct ContextStack {
81 public:
82 // member variables
83 // NOLINTBEGIN
86 // NOLINTEND
87
88 public:
89 // prevent constructor by default
90 ContextStack& operator=(ContextStack const&);
93 };
94
95public:
96 // member variables
97 // NOLINTBEGIN
101 // NOLINTEND
102
103public:
104 // prevent constructor by default
108
109public:
110 // member functions
111 // NOLINTBEGIN
112 MCNAPI ::std::string _getContextString(uint index) const;
113
114 MCNAPI ::std::vector<::cereal::BasicSerializerContext::Context>
116
117 MCNAPI ::std::pair<::cereal::BasicSerializerContext::ContextType, ::std::string_view> currentContext() const;
118
119 MCNAPI ::std::vector<::std::string> errors() const;
120 // NOLINTEND
121};
122
123} // namespace cereal
Definition BasicSerializerContext.h:7
MCAPI ::std::vector<::std::string > errors() const
MCAPI ::std::vector<::cereal::BasicSerializerContext::Context > contextFor(::cereal::BasicSerializerContext::LogEntry const &entry) const
MCAPI::std::string _getContextString(uint index) const
MCAPI ::std::pair<::cereal::BasicSerializerContext::ContextType, ::std::string_view > currentContext() const
Definition BasicSerializerContext.h:80
Definition BasicSerializerContext.h:23
Definition BasicSerializerContext.h:51
Definition Alias.h:14