LeviLamina
Loading...
Searching...
No Matches
ComponentStorage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/brstd/flat_map.h"
7
8namespace cereal {
9
11public:
12 // ComponentStorage inner types define
13 using KeyIterable = ::entt::iterable_adaptor<
14 ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::std::string>>>,
15 ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::std::string>>>>;
16
17 using StorageType = ::brstd::flat_map<
18 ::std::string,
19 ::entt::meta_any,
20 ::std::less<void>,
21 ::std::vector<::std::string>,
22 ::std::vector<::entt::meta_any>>;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<
28 8,
29 48,
31 ::std::string,
32 ::entt::meta_any,
33 ::std::less<void>,
34 ::std::vector<::std::string>,
35 ::std::vector<::entt::meta_any>>>
36 mComponents;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCFOLD bool empty() const;
43
44 MCAPI bool eraseComponent(::std::string_view name);
45
46 MCAPI ::entt::meta_any getComponent(::std::string_view name);
47
48 MCAPI ::entt::meta_any getComponent(::std::string_view name) const;
49
50 MCAPI bool hasComponent(::std::string_view name) const;
51
52 MCFOLD ::entt::iterable_adaptor<
53 ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::std::string>>>,
54 ::std::_Vector_const_iterator<::std::_Vector_val<::std::_Simple_types<::std::string>>>>
55 keys() const;
56
57 MCAPI bool operator==(::cereal::ComponentStorage const& other) const;
58
59 MCFOLD uint64 size() const;
60
61 MCAPI ~ComponentStorage();
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCAPI void $dtor();
68 // NOLINTEND
69};
70
71} // namespace cereal
Definition flat_map.h:15
Definition ComponentStorage.h:10