LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
geo::IteratorBox< Iter, BeginFunc, EndFunc > Class Template Reference

#include "GeometryCore.h"

Inheritance diagram for geo::IteratorBox< Iter, BeginFunc, EndFunc >:
geo::IteratorBoxBase< Iter >

Public Types

using iterator = Iter
 

Public Member Functions

 IteratorBox (GeometryCore const *geom)
 
iterator begin () const
 
iterator end () const
 
iterator cbegin () const
 
iterator cend () const
 

Protected Attributes

iterator b
 
iterator e
 Begin and end iterators. More...
 

Detailed Description

template<typename Iter, Iter(GeometryCore::*)() const BeginFunc, Iter(GeometryCore::*)() const EndFunc>
class geo::IteratorBox< Iter, BeginFunc, EndFunc >

Definition at line 1337 of file GeometryCore.h.

Member Typedef Documentation

template<typename Iter >
using geo::IteratorBoxBase< Iter >::iterator = Iter
inherited

Definition at line 1315 of file GeometryCore.h.

Constructor & Destructor Documentation

template<typename Iter , Iter(GeometryCore::*)() const BeginFunc, Iter(GeometryCore::*)() const EndFunc>
geo::IteratorBox< Iter, BeginFunc, EndFunc >::IteratorBox ( GeometryCore const *  geom)
inline

Definition at line 1340 of file GeometryCore.h.

1341  : IteratorBoxBase<Iter>((geom->*BeginFunc)(), (geom->*EndFunc)())
1342  {}

Member Function Documentation

template<typename Iter >
iterator geo::IteratorBoxBase< Iter >::begin ( ) const
inlineinherited

Definition at line 1320 of file GeometryCore.h.

1320 { return b; }
template<typename Iter >
iterator geo::IteratorBoxBase< Iter >::cbegin ( ) const
inlineinherited

Definition at line 1323 of file GeometryCore.h.

1323 { return b; }
template<typename Iter >
iterator geo::IteratorBoxBase< Iter >::cend ( ) const
inlineinherited

Definition at line 1324 of file GeometryCore.h.

References e.

1324 { return e; }
iterator e
Begin and end iterators.
template<typename Iter >
iterator geo::IteratorBoxBase< Iter >::end ( ) const
inlineinherited

Definition at line 1321 of file GeometryCore.h.

References e.

1321 { return e; }
iterator e
Begin and end iterators.

Member Data Documentation

template<typename Iter >
iterator geo::IteratorBoxBase< Iter >::b
protectedinherited

Definition at line 1327 of file GeometryCore.h.

template<typename Iter >
iterator geo::IteratorBoxBase< Iter >::e
protectedinherited

Begin and end iterators.

Definition at line 1327 of file GeometryCore.h.


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