LeviLamina
Loading...
Searching...
No Matches
BasicLoader.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/LoaderConfig.h"
8#include "mc/deps/cereal/ResultCode.h"
9#include "mc/deps/cereal/schema/Schema.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cereal { class BasicSerializerContext; }
14namespace cereal { struct ReflectionCtx; }
15namespace cereal { struct SchemaReader; }
16namespace cereal::internal { class BasicSchema; }
17// clang-format on
18
19namespace cereal {
20
21class BasicLoader : public ::cereal::BasicContextOwner {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 144, ::cereal::internal::Schema> mSchema;
26 ::ll::TypedStorage<1, 1, ::cereal::LoaderConfig> mConfig;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 BasicLoader();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~BasicLoader();
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI BasicLoader(
43 ::cereal::ReflectionCtx const& reflectionCtx,
44 ::cereal::ResultCode errorCodes,
45 ::cereal::LoaderConfig const& config
46 );
47
48 MCFOLD ::cereal::BasicSerializerContext& getLog();
49
50 MCAPI bool loadImpl(
52 ::entt::meta_handle handle,
53 ::entt::meta_any const& loadContext,
55 );
56
57 MCAPI void setConfig(::cereal::LoaderConfig const& config);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(
64 ::cereal::ReflectionCtx const& reflectionCtx,
65 ::cereal::ResultCode errorCodes,
66 ::cereal::LoaderConfig const& config
67 );
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCFOLD void $dtor();
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
82
83} // namespace cereal
Definition BasicContextOwner.h:12
static MCAPI void ** $vftable()
Definition BasicSerializerContext.h:13
Definition BasicSchema.h:29
Definition LoaderConfig.h:7
Definition ReflectionCtx.h:11
Definition SchemaReader.h:12