LeviLamina
Loading...
Searching...
No Matches
SerializerContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ResultCode.h"
7
8namespace cereal {
9
11public:
12 // SerializerContext inner types declare
13 // clang-format off
14 struct LogEntry;
15 struct ScopedPop;
16 // clang-format on
17
18 // SerializerContext inner types define
19 enum class ContextType : int {
20 ArrayElem = 0,
21 Member = 1,
22 Root = 2,
23 };
24
25 struct LogEntry {
26 public:
27 // member variables
28 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 LogEntry& operator=(LogEntry const&);
37 LogEntry(LogEntry const&);
38 LogEntry();
39
40 public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI ~LogEntry();
44 // NOLINTEND
45
46 public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCAPI void $dtor();
50 // NOLINTEND
51 };
52
53 struct ScopedPop {
54 public:
55 // member variables
56 // NOLINTBEGIN
58 // NOLINTEND
59
60 public:
61 // prevent constructor by default
62 ScopedPop& operator=(ScopedPop const&);
63 ScopedPop(ScopedPop const&);
64 ScopedPop();
65
66 public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI ~ScopedPop();
70 // NOLINTEND
71
72 public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCAPI void $dtor();
76 // NOLINTEND
77 };
78
79public:
80 // member variables
81 // NOLINTBEGIN
86 // NOLINTEND
87
88public:
89 // prevent constructor by default
90 SerializerContext& operator=(SerializerContext const&);
93
94public:
95 // member functions
96 // NOLINTBEGIN
97 MCAPI ::cereal::SerializerContext detachContext();
98
99 MCAPI ::std::vector<::std::string> getErrors() const;
100
101 MCAPI void log(::cereal::ResultCode res, ::std::string msg);
102
103 MCAPI ::cereal::SerializerContext& operator=(::cereal::SerializerContext&&);
104
105 MCAPI ::cereal::SerializerContext&
106 pushContext(::cereal::SerializerContext::ContextType contextType, ::std::string contextToken);
107
108 MCAPI ~SerializerContext();
109 // NOLINTEND
110
111public:
112 // static functions
113 // NOLINTBEGIN
114 MCAPI static ::std::string contextString(
115 ::std::vector<::std::pair<::cereal::SerializerContext::ContextType, ::std::string>> const& contextStack
116 );
117 // NOLINTEND
118
119public:
120 // destructor thunk
121 // NOLINTBEGIN
122 MCFOLD void $dtor();
123 // NOLINTEND
124};
125
126} // namespace cereal
Definition SerializerContext.h:10
Definition SerializerContext.h:25
Definition SerializerContext.h:53
Definition Alias.h:14