LeviLamina
Loading...
Searching...
No Matches
ComponentStorageConstraint.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ConstraintHandle.h"
7#include "mc/deps/cereal/ContextArea.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cereal { class ComponentStorage; }
12namespace cereal { class SerializerContext; }
13namespace cereal::internal { struct ConstraintDescription; }
14// clang-format on
15
16namespace cereal {
17
18class ComponentStorageConstraint : public ::cereal::ConstraintHandle<::cereal::ComponentStorageConstraint> {
19public:
20 // ComponentStorageConstraint inner types define
21 enum class ConstraintKeysMode : uchar {
22 None = 0,
23 Reject = 1,
24 Accept = 2,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 64, ::std::unordered_set<::std::string>> mKeys;
31 ::ll::TypedStorage<1, 1, ::cereal::ComponentStorageConstraint::ConstraintKeysMode> mKeysMode;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI ::cereal::internal::ConstraintDescription description(::cereal::ContextArea) const;
38
39 MCAPI ::cereal::ComponentStorageConstraint& rejectKeys(::std::initializer_list<::std::string> keys);
40
41 MCAPI void validateValue(::cereal::ComponentStorage const& storage, ::cereal::SerializerContext& context) const;
42 // NOLINTEND
43
44public:
45 // vftables
46 // NOLINTBEGIN
47 MCNAPI static void** $vftable();
48 // NOLINTEND
49};
50
51} // namespace cereal
Definition ComponentStorageConstraint.h:18
static MCAPI void ** $vftable()
Definition ComponentStorage.h:10
Definition ConstraintHandle.h:8
Definition SerializerContext.h:17
Definition ConstraintDescription.h:7
Definition context.h:5