EnTT 3.14.0
|
Converts a registry to a view. More...
#include <helper.hpp>
Public Types | |
using | registry_type = Registry |
Type of registry to convert. | |
using | entity_type = typename registry_type::entity_type |
Underlying entity identifier. | |
Public Member Functions | |
as_view (registry_type &source) noexcept | |
Constructs a converter for a given registry. | |
template<typename Get , typename Exclude > | |
operator basic_view< Get, Exclude > () const | |
Conversion function from a registry to a view. | |
Converts a registry to a view.
Registry | Basic registry type. |
Definition at line 22 of file helper.hpp.
using entt::as_view< Registry >::entity_type = typename registry_type::entity_type |
Underlying entity identifier.
Definition at line 32 of file helper.hpp.
Type of registry to convert.
Definition at line 30 of file helper.hpp.
|
inlinenoexcept |
Constructs a converter for a given registry.
source | A valid reference to a registry. |
Definition at line 38 of file helper.hpp.
|
inline |
Conversion function from a registry to a view.
Get | Type of storage used to construct the view. |
Exclude | Types of storage used to filter the view. |
Definition at line 48 of file helper.hpp.