LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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...
 

Static Public Attributes

static constexpr BeginPos_t begin_pos = {}
 
static constexpr EndPos_t end_pos = {}
 
static constexpr UndefinedPos_t undefined_pos = {}
 

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...
 

Detailed Description

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

Definition at line 127 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 131 of file GeometryCore.h.

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

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

Definition at line 138 of file GeometryCore.h.

138 {}

Member Function Documentation

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

Returns a pointer to the geometry.

Definition at line 135 of file GeometryCore.h.

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

Member Data Documentation

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

pointer to the geometry

Definition at line 141 of file GeometryCore.h.

constexpr details::geometry_iterator_types::UndefinedPos_t geo::details::geometry_iterator_types::undefined_pos = {}
staticinherited

Definition at line 121 of file GeometryCore.h.

Referenced by geo::GeometryCore::PointWithinSegments().


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