|
EnTT 3.13.2
|
Basic storage view implementation. More...
#include <view.hpp>
Public Types | |
| using | common_type = Type |
| Common type among all storage types. | |
| using | entity_type = typename Type::entity_type |
| Underlying entity identifier. | |
| using | size_type = std::size_t |
| Unsigned integer type. | |
| using | iterator = internal::view_iterator<common_type, Get, Exclude> |
| Bidirectional iterator type. | |
Public Member Functions | |
| void | refresh () noexcept |
| Updates the internal leading view if required. | |
| const common_type * | handle () const noexcept |
| Returns the leading storage of a view, if any. | |
| size_type | size_hint () const noexcept |
| Estimates the number of entities iterated by the view. | |
| iterator | begin () const noexcept |
| Returns an iterator to the first entity of the view. | |
| iterator | end () const noexcept |
| Returns an iterator that is past the last entity of the view. | |
| entity_type | front () const noexcept |
| Returns the first entity of the view, if any. | |
| entity_type | back () const noexcept |
| Returns the last entity of the view, if any. | |
| iterator | find (const entity_type entt) const noexcept |
| Finds an entity. | |
| operator bool () const noexcept | |
| Checks if a view is fully initialized. | |
| bool | contains (const entity_type entt) const noexcept |
| Checks if a view contains an entity. | |
Friends | |
| template<typename Return , typename View , typename Other , std::size_t... VGet, std::size_t... VExclude, std::size_t... OGet, std::size_t... OExclude> | |
| Return | internal::view_pack (const View &, const Other &, std::index_sequence< VGet... >, std::index_sequence< VExclude... >, std::index_sequence< OGet... >, std::index_sequence< OExclude... >) |
Basic storage view implementation.
| Type | Common type among all storage types. |
| Get | Number of storage iterated by the view. |
| Exclude | Number of storage used to filter the view. |
| using entt::basic_common_view< Type, Get, Exclude >::common_type = Type |
| using entt::basic_common_view< Type, Get, Exclude >::iterator = internal::view_iterator<common_type, Get, Exclude> |
| using entt::basic_common_view< Type, Get, Exclude >::size_type = std::size_t |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |