LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
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 50 of file GeometryDataContainers.h.
|
private |
Type of iterator to the actual data.
Definition at line 814 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 851 of file GeometryDataContainers.h.
|
private |
Type of index in the container mapping.
Definition at line 817 of file GeometryDataContainers.h.
|
private |
< Type of mapping of the container this class iterates.
Definition at line 812 of file GeometryDataContainers.h.
|
default |
Default constructor: undefined status.
|
inline |
Constructor: points to data pointed by current
.
Definition at line 857 of file GeometryDataContainers.h.
|
inline |
Generalized copy constructor, only if argument iterator can be converted.
Definition at line 865 of file GeometryDataContainers.h.
|
inlineprivate |
Returns the iterator to the current element.
Definition at line 831 of file GeometryDataContainers.h.
|
inlineprivate |
Definition at line 835 of file GeometryDataContainers.h.
|
inline |
Returns the ID corresponding to the current element.
Definition at line 872 of file GeometryDataContainers.h.
|
inlineprivate |
Returns the index of the current element.
Definition at line 848 of file GeometryDataContainers.h.
|
inlineprivate |
Returns the mapping of the container being iterated.
Definition at line 841 of file GeometryDataContainers.h.
References geo::details::GeoIDdataContainerIterator< GeoIDmapperClass, BaseIterator >::ExtraData_t::mapper.
|
inlineprivate |
Returns the iterator to the begin element.
Definition at line 838 of file GeometryDataContainers.h.
References geo::details::GeoIDdataContainerIterator< GeoIDmapperClass, BaseIterator >::ExtraData_t::start.
|
private |
Data for extended features of this iterator.
Definition at line 828 of file GeometryDataContainers.h.