LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
proxy::details::BoundaryListRangeBase< BoundaryIter > Class Template Reference

#include "AssociatedData.h"

Inheritance diagram for proxy::details::BoundaryListRangeBase< BoundaryIter >:

Public Member Functions

 BoundaryListRangeBase (boundary_iterator_t const &it)
 Constructor: copies the specified base iterator. More...
 
auto begin () const -> decltype(auto)
 Returns the begin iterator of the range. More...
 
auto end () const -> decltype(auto)
 Returns the end iterator of the range (next to the begin iterator). More...
 

Private Types

using boundary_iterator_t = BoundaryIter
 

Private Member Functions

auto boundaryIter () const
 Returns the iterator to the begin iterator. More...
 

Detailed Description

template<typename BoundaryIter>
class proxy::details::BoundaryListRangeBase< BoundaryIter >

Interface providing begin and end iterator of a range.

Template Parameters
BoundaryIteriterator to the first of the range iterators.

Definition at line 509 of file AssociatedData.h.

Member Typedef Documentation

template<typename BoundaryIter >
using proxy::details::BoundaryListRangeBase< BoundaryIter >::boundary_iterator_t = BoundaryIter
private

Definition at line 510 of file AssociatedData.h.

Constructor & Destructor Documentation

template<typename BoundaryIter >
proxy::details::BoundaryListRangeBase< BoundaryIter >::BoundaryListRangeBase ( boundary_iterator_t const &  it)
inline

Constructor: copies the specified base iterator.

Definition at line 518 of file AssociatedData.h.

Member Function Documentation

template<typename BoundaryIter >
auto proxy::details::BoundaryListRangeBase< BoundaryIter >::begin ( ) const -> decltype(auto)
inline

Returns the begin iterator of the range.

Definition at line 522 of file AssociatedData.h.

523  { return *(boundaryIter()); }
auto boundaryIter() const
Returns the iterator to the begin iterator.
template<typename BoundaryIter >
auto proxy::details::BoundaryListRangeBase< BoundaryIter >::boundaryIter ( ) const
inlineprivate

Returns the iterator to the begin iterator.

Definition at line 513 of file AssociatedData.h.

514  { return static_cast<BoundaryIter const&>(*this); }
template<typename BoundaryIter >
auto proxy::details::BoundaryListRangeBase< BoundaryIter >::end ( ) const -> decltype(auto)
inline

Returns the end iterator of the range (next to the begin iterator).

Definition at line 526 of file AssociatedData.h.

527  { return *(std::next(boundaryIter())); }
auto boundaryIter() const
Returns the iterator to the begin iterator.

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