LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
geo::details::geometry_iterator_base Class Reference

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

#include "geometry_iterators.h"

Inheritance diagram for geo::details::geometry_iterator_base:
geo::details::id_iterator_base< CryostatID, GEOID >

Public Member Functions

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

Protected Member Functions

GeometryCore const * geometry () const
 Returns a pointer to the geometry. More...
 
 geometry_iterator_base ()=default
 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 18 of file geometry_iterators.h.

Constructor & Destructor Documentation

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

Constructor: associates with the specified geometry.

Definition at line 21 of file geometry_iterators.h.

21 : pGeo(geom) {}
GeometryCore const * pGeo
pointer to the geometry
geo::details::geometry_iterator_base::geometry_iterator_base ( )
protecteddefault

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

Referenced by geometry().

Member Function Documentation

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

Returns a pointer to the geometry.

Definition at line 25 of file geometry_iterators.h.

References geometry_iterator_base(), and pGeo.

25 { return pGeo; }
GeometryCore const * pGeo
pointer to the geometry

Member Data Documentation

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

pointer to the geometry

Definition at line 31 of file geometry_iterators.h.

Referenced by geometry().


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