Classes
gar::geo::details Namespace Reference

Classes

class  geometry_element_iterator
 Forward iterator browsing all geometry elements in the detector. More...
 
class  geometry_iterator_base
 Base class for geometry iterators (note: this is not an iterator) More...
 
class  geometry_iterator_types
 Base class for geometry iterators, containing some type definitions. More...
 
class  TestTrackerClassBase
 Class telling whether a test needs to be run. More...
 

Functions

template<typename GEOIDITER >
bool operator== (geometry_element_iterator< GEOIDITER > const &iter, GEOIDITER const &id_iter)
 Comparison operator: geometry ID and element point to the same ID. More...
 
template<typename GEOIDITER >
bool operator== (GEOIDITER const &id_iter, geometry_element_iterator< GEOIDITER > const &iter)
 
template<typename GEOIDITER >
bool operator!= (geometry_element_iterator< GEOIDITER > const &iter, GEOIDITER const &id_iter)
 Comparison operator: geometry ID and element point to different IDs. More...
 
template<typename GEOIDITER >
bool operator!= (GEOIDITER const &id_iter, geometry_element_iterator< GEOIDITER > const &iter)
 

Function Documentation

template<typename GEOIDITER >
bool gar::geo::details::operator!= ( geometry_element_iterator< GEOIDITER > const &  iter,
GEOIDITER const &  id_iter 
)

Comparison operator: geometry ID and element point to different IDs.

Definition at line 1362 of file GeometryCore.h.

1363 {
1364  return iter.id_iterator() != id_iter;
1365 } // operator!=(iterator_t, id_iterator_t)
template<typename GEOIDITER >
bool gar::geo::details::operator!= ( GEOIDITER const &  id_iter,
geometry_element_iterator< GEOIDITER > const &  iter 
)
inline

Definition at line 215 of file GeometryCore.h.

219  { return iter != id_iter; }
template<typename GEOIDITER >
bool gar::geo::details::operator== ( geometry_element_iterator< GEOIDITER > const &  iter,
GEOIDITER const &  id_iter 
)

Comparison operator: geometry ID and element point to the same ID.

Definition at line 1355 of file GeometryCore.h.

1356 {
1357  return iter.id_iterator() == id_iter;
1358 } // operator==(iterator_t, id_iterator_t)
template<typename GEOIDITER >
bool gar::geo::details::operator== ( GEOIDITER const &  id_iter,
geometry_element_iterator< GEOIDITER > const &  iter 
)
inline

Definition at line 202 of file GeometryCore.h.

204  { return iter == id_iter; }