Iterator for geo::GeoIDdataContainer
class.
More...
#include <GeometryDataContainers.h>
Classes | |
struct | ExtraData_t |
Public Types | |
using | ID_t = typename Mapper_t::ID_t |
Type of the ID in this iterator. More... | |
Public Member Functions | |
GeoIDdataContainerIterator ()=default | |
Default constructor: undefined status. More... | |
GeoIDdataContainerIterator (Mapper_t const &mapper, BaseIterator_t const &start, BaseIterator_t const ¤t) | |
Constructor: points to data pointed by current . More... | |
template<typename OBaseIterator > | |
GeoIDdataContainerIterator (GeoIDdataContainerIterator< Mapper_t, OBaseIterator > const &other, std::enable_if_t< std::is_convertible_v< OBaseIterator, BaseIterator_t >>=nullptr) | |
Generalized copy constructor, only if argument iterator can be converted. More... | |
ID_t | ID () const |
Returns the ID corresponding to the current element. More... | |
Private Types | |
using | Mapper_t = GeoIDmapperClass |
< Type of mapping of the container this class iterates. More... | |
using | BaseIterator_t = BaseIterator |
Type of iterator to the actual data. More... | |
using | Index_t = typename Mapper_t::index_type |
Type of index in the container mapping. More... | |
Private Member Functions | |
BaseIterator_t const & | current () const |
Returns the iterator to the current element. More... | |
BaseIterator_t & | current () |
BaseIterator_t const & | start () const |
Returns the iterator to the begin element. More... | |
Mapper_t const & | mapper () const |
Returns the mapping of the container being iterated. More... | |
Index_t | index () const |
Returns the index of the current element. More... | |
Private Attributes | |
ExtraData_t | fData |
Data for extended features of this iterator. More... | |
Iterator for geo::GeoIDdataContainer
class.
GeoIDdataContainerClass | type of the class being iterated |
BaseIterator | type of iterator to the actual data |
Definition at line 51 of file GeometryDataContainers.h.
|
private |
Type of iterator to the actual data.
Definition at line 853 of file GeometryDataContainers.h.
using geo::details::GeoIDdataContainerIterator< GeoIDmapperClass, BaseIterator >::ID_t = typename Mapper_t::ID_t |
Type of the ID in this iterator.
Definition at line 887 of file GeometryDataContainers.h.
|
private |
Type of index in the container mapping.
Definition at line 856 of file GeometryDataContainers.h.
|
private |
< Type of mapping of the container this class iterates.
Definition at line 851 of file GeometryDataContainers.h.
|
default |
Default constructor: undefined status.
|
inline |
Constructor: points to data pointed by current
.
Definition at line 894 of file GeometryDataContainers.h.
|
inline |
Generalized copy constructor, only if argument iterator can be converted.
Definition at line 905 of file GeometryDataContainers.h.
|
inlineprivate |
Returns the iterator to the current element.
Definition at line 870 of file GeometryDataContainers.h.
|
inlineprivate |
Definition at line 872 of file GeometryDataContainers.h.
|
inline |
Returns the ID corresponding to the current element.
Definition at line 915 of file GeometryDataContainers.h.
|
inlineprivate |
Returns the index of the current element.
Definition at line 883 of file GeometryDataContainers.h.
|
inlineprivate |
Returns the mapping of the container being iterated.
Definition at line 879 of file GeometryDataContainers.h.
|
inlineprivate |
Returns the iterator to the begin element.
Definition at line 876 of file GeometryDataContainers.h.
|
private |
Data for extended features of this iterator.
Definition at line 867 of file GeometryDataContainers.h.