LeviLamina
Loading...
Searching...
No Matches
BasicSaver.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/BasicContextOwner.h"
7#include "mc/deps/cereal/SaverConfig.h"
8#include "mc/deps/cereal/schema/Schema.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cereal { class BasicSerializerContext; }
13namespace cereal { struct ReflectionCtx; }
14namespace cereal { struct SchemaWriter; }
15namespace cereal::internal { class BasicSchema; }
16// clang-format on
17
18namespace cereal {
19
20class BasicSaver : public ::cereal::BasicContextOwner {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 144, ::cereal::internal::Schema> mSchema;
25 ::ll::TypedStorage<1, 2, ::cereal::SaverConfig> mConfig;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 BasicSaver();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~BasicSaver();
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI BasicSaver(::cereal::ReflectionCtx const& reflectionCtx, ::cereal::SaverConfig const& config);
42
43 MCFOLD ::cereal::BasicSerializerContext& getLog();
44
45 MCAPI bool saveImpl(
47 ::entt::meta_handle handle,
48 ::cereal::internal::BasicSchema const& fallback,
49 ::cereal::SaverConfig const& config
50 );
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::cereal::ReflectionCtx const& reflectionCtx, ::cereal::SaverConfig const& config);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCFOLD void $dtor();
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
71
72} // namespace cereal
Definition BasicContextOwner.h:12
static MCAPI void ** $vftable()
Definition BasicSerializerContext.h:13
Definition BasicSchema.h:29
Definition ReflectionCtx.h:11
Definition SaverConfig.h:7
Definition SchemaWriter.h:16