Public Types | Public Member Functions | Protected Attributes | List of all members
gar::geo::IteratorBox< Iter, BeginFunc, EndFunc > Class Template Reference

#include <GeometryCore.h>

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
 

Detailed Description

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

Definition at line 371 of file GeometryCore.h.

Member Typedef Documentation

template<typename Iter , Iter(GeometryCore::*)() const BeginFunc, Iter(GeometryCore::*)() const EndFunc>
using gar::geo::IteratorBox< Iter, BeginFunc, EndFunc >::iterator = Iter

Definition at line 373 of file GeometryCore.h.

Constructor & Destructor Documentation

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

Definition at line 375 of file GeometryCore.h.

375  :
376  b((geom->*BeginFunc)()), e((geom->*EndFunc)()) {}

Member Function Documentation

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

Definition at line 378 of file GeometryCore.h.

378 { return b; }
template<typename Iter , Iter(GeometryCore::*)() const BeginFunc, Iter(GeometryCore::*)() const EndFunc>
iterator gar::geo::IteratorBox< Iter, BeginFunc, EndFunc >::cbegin ( ) const
inline

Definition at line 381 of file GeometryCore.h.

381 { return b; }
template<typename Iter , Iter(GeometryCore::*)() const BeginFunc, Iter(GeometryCore::*)() const EndFunc>
iterator gar::geo::IteratorBox< Iter, BeginFunc, EndFunc >::cend ( ) const
inline

Definition at line 382 of file GeometryCore.h.

382 { return e; }
template<typename Iter , Iter(GeometryCore::*)() const BeginFunc, Iter(GeometryCore::*)() const EndFunc>
iterator gar::geo::IteratorBox< Iter, BeginFunc, EndFunc >::end ( ) const
inline

Definition at line 379 of file GeometryCore.h.

379 { return e; }

Member Data Documentation

template<typename Iter , Iter(GeometryCore::*)() const BeginFunc, Iter(GeometryCore::*)() const EndFunc>
iterator gar::geo::IteratorBox< Iter, BeginFunc, EndFunc >::b
protected

Definition at line 385 of file GeometryCore.h.

template<typename Iter , Iter(GeometryCore::*)() const BeginFunc, Iter(GeometryCore::*)() const EndFunc>
iterator gar::geo::IteratorBox< Iter, BeginFunc, EndFunc >::e
protected

Definition at line 385 of file GeometryCore.h.


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