All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
geo::details::geometry_iterator_base Class Reference

Base class for geometry iterators (note: this is not an iterator) More...

#include <GeometryCore.h>

Inheritance diagram for geo::details::geometry_iterator_base:
geo::details::geometry_iterator_types geo::details::cryostat_id_iterator_base< GEOID > geo::details::TPC_id_iterator_base< GEOID > geo::details::TPCset_id_iterator_base< GEOID > geo::details::plane_id_iterator_base< GEOID > geo::details::ROP_id_iterator_base< GEOID > geo::details::wire_id_iterator_base< GEOID >

Public Member Functions

 geometry_iterator_base (geo::GeometryCore const *geom)
 Constructor: associates with the specified geometry. More...
 

Protected Member Functions

geo::GeometryCore const * geometry () const
 Returns a pointer to the geometry. More...
 
 geometry_iterator_base ()
 Default constructor; do not use a default-constructed iterator as-is! More...
 

Private Attributes

GeometryCore const * pGeo = nullptr
 pointer to the geometry More...
 

Additional Inherited Members

- Static Public Attributes inherited from geo::details::geometry_iterator_types
static constexpr BeginPos_t begin_pos = {}
 
static constexpr EndPos_t end_pos = {}
 
static constexpr UndefinedPos_t undefined_pos = {}
 

Detailed Description

Base class for geometry iterators (note: this is not an iterator)

Definition at line 115 of file GeometryCore.h.

Constructor & Destructor Documentation

geo::details::geometry_iterator_base::geometry_iterator_base ( geo::GeometryCore const *  geom)
inline

Constructor: associates with the specified geometry.

Definition at line 119 of file GeometryCore.h.

119 : pGeo(geom) {}
GeometryCore const * pGeo
pointer to the geometry
Definition: GeometryCore.h:129
geo::details::geometry_iterator_base::geometry_iterator_base ( )
inlineprotected

Default constructor; do not use a default-constructed iterator as-is!

Definition at line 126 of file GeometryCore.h.

126 {}

Member Function Documentation

geo::GeometryCore const* geo::details::geometry_iterator_base::geometry ( ) const
inlineprotected

Returns a pointer to the geometry.

Definition at line 123 of file GeometryCore.h.

123 { return pGeo; }
GeometryCore const * pGeo
pointer to the geometry
Definition: GeometryCore.h:129

Member Data Documentation

GeometryCore const* geo::details::geometry_iterator_base::pGeo = nullptr
private

pointer to the geometry

Definition at line 129 of file GeometryCore.h.


The documentation for this class was generated from the following file: