OGLplus  (0.59.0) a C++ wrapper for rendering APIs

storage_fwd.hpp
Go to the documentation of this file.
1 #ifndef EAGINE_ECS_STORAGE_FWD_HPP
9 #define EAGINE_ECS_STORAGE_FWD_HPP
10 
11 namespace eagine::ecs {
12 
13 template <typename Entity, bool IsRelation>
14 struct storage_iterator_intf;
15 
16 template <typename Entity>
17 using component_storage_iterator_intf = storage_iterator_intf<Entity, false>;
18 
19 template <typename Entity>
20 using relation_storage_iterator_intf = storage_iterator_intf<Entity, true>;
21 
22 template <typename Entity, bool IsRelation>
23 class storage_iterator;
24 
25 template <typename Entity>
26 using component_storage_iterator = storage_iterator<Entity, false>;
27 
28 template <typename Entity>
29 using relation_storage_iterator = storage_iterator<Entity, true>;
30 
31 template <typename Entity, bool IsRelation>
32 struct base_storage;
33 
34 template <typename Entity>
35 using base_component_storage = base_storage<Entity, false>;
36 
37 template <typename Entity>
38 using base_relation_storage = base_storage<Entity, true>;
39 
40 template <typename Entity, typename Data, bool IsRelation>
41 struct storage;
42 
43 template <typename Entity, typename Data>
44 using component_storage = storage<Entity, Data, false>;
45 
46 template <typename Entity, typename Data>
47 using relation_storage = storage<Entity, Data, true>;
48 
49 } // namespace eagine::ecs
50 
51 #endif // EAGINE_ECS_STORAGE_FWD_HPP

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).