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 // virtual functions
36 // NOLINTBEGIN
37 virtual ::cereal::internal::ConstraintDescription doDescription(::cereal::ContextArea) const /*override*/;
38
39 virtual ~ComponentStorageConstraint() /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI ::cereal::ComponentStorageConstraint& rejectKeys(::std::initializer_list<::std::string> keys);
46
47 MCAPI void validateValue(::cereal::ComponentStorage const& storage, ::cereal::SerializerContext& context) const;
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI ::cereal::internal::ConstraintDescription $doDescription(::cereal::ContextArea) const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
70
71} // 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