|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
View of the rows in a specific set of columns in an EntityTable. More...
#include <GREM/execution/EntityTable.hpp>
Public Types | |
| using | MutableComponents = meta::type_list_concat_t<typename detail::columns_extract_components<Components>::MutableComponents...> |
| List of non-const components required by the range, provided as a meta::TypeList. | |
| using | ImmutableComponents = meta::type_list_concat_t<typename detail::columns_extract_components<Components>::ImmutableComponents...> |
| List of const components required by the range, provided as a meta::TypeList. | |
| using | IncludedComponents = meta::type_list_concat_t<typename detail::columns_extract_components<Components>::IncludedComponents...> |
| List of components required by the range, provided as a meta::TypeList. | |
| using | ExcludedComponents = meta::type_list_concat_t<typename detail::columns_extract_components<Components>::ExcludedComponents...> |
| List of components excluded by the range, provided as a meta::TypeList. | |
| using | iterator = detail::ColumnsIterator<IncludedComponents> |
| using | sentinel = detail::ColumnsSentinel |
| using | value_type = typename iterator::value_type |
| using | reference = typename iterator::reference |
| using | size_type = size_t |
| using | difference_type = ptrdiff_t |
Public Member Functions | |
| constexpr | Columns () noexcept=default |
| Construct an empty entity range. | |
| constexpr | Columns (const iterator &first, const iterator &last) noexcept |
| Construct an entity subrange from an iterator pair. | |
| constexpr iterator | begin () const noexcept |
| constexpr sentinel | end () const noexcept |
| constexpr size_type | size () const noexcept |
| Get the number of rows in the range. | |
| constexpr bool | empty () const noexcept |
| Check if the range is empty. | |
| constexpr size_type | getCandidateCount () const noexcept |
| Get an upper bound estimate on the number of rows in the range, which is equal to the exact number of rows. | |
Friends | |
| template<typename Row, typename Allocator> | |
| class | EntityTable |
View of the rows in a specific set of columns in an EntityTable.
| Components | component types of the columns to reference. |
| using grem::execution::Columns< Components >::MutableComponents = meta::type_list_concat_t<typename detail::columns_extract_components<Components>::MutableComponents...> |
List of non-const components required by the range, provided as a meta::TypeList.
| using grem::execution::Columns< Components >::ImmutableComponents = meta::type_list_concat_t<typename detail::columns_extract_components<Components>::ImmutableComponents...> |
List of const components required by the range, provided as a meta::TypeList.
| using grem::execution::Columns< Components >::IncludedComponents = meta::type_list_concat_t<typename detail::columns_extract_components<Components>::IncludedComponents...> |
List of components required by the range, provided as a meta::TypeList.
| using grem::execution::Columns< Components >::ExcludedComponents = meta::type_list_concat_t<typename detail::columns_extract_components<Components>::ExcludedComponents...> |
List of components excluded by the range, provided as a meta::TypeList.
| using grem::execution::Columns< Components >::iterator = detail::ColumnsIterator<IncludedComponents> |
| using grem::execution::Columns< Components >::sentinel = detail::ColumnsSentinel |
| using grem::execution::Columns< Components >::value_type = typename iterator::value_type |
| using grem::execution::Columns< Components >::reference = typename iterator::reference |
| using grem::execution::Columns< Components >::size_type = size_t |
| using grem::execution::Columns< Components >::difference_type = ptrdiff_t |
|
constexprdefaultnoexcept |
Construct an empty entity range.
|
inlineconstexprnoexcept |
Construct an entity subrange from an iterator pair.
| first | begin iterator of the subrange. |
| last | past-the-end iterator of the subrange. |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
|
inlinenodiscardconstexprnoexcept |
Get the number of rows in the range.
|
inlinenodiscardconstexprnoexcept |
Check if the range is empty.
|
inlinenodiscardconstexprnoexcept |
|
friend |