|
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.
|
|
template<typename Type, bool Checked, std::size_t Get, std::size_t Exclude>
class entt::basic_common_view< Type, Checked, Get, Exclude >
Basic storage view implementation.
- Warning
- For internal use only, backward compatibility not guaranteed.
- Template Parameters
-
Type | Common type among all storage types. |
Checked | True to enable the tombstone check, false otherwise. |
Get | Number of storage iterated by the view. |
Exclude | Number of storage used to filter the view. |
Definition at line 233 of file view.hpp.
template<typename Type, bool Checked, std::size_t Get, std::size_t Exclude>
Returns an iterator to the first entity of the view.
If the view is empty, the returned iterator will be equal to end()
.
- Returns
- An iterator to the first entity of the view.
Definition at line 344 of file view.hpp.