All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
lar::details::CollectionExtremes< BeginIter, EndIter > Class Template Reference

Class storing a begin and a end iterator. More...

#include <CollectionView.h>

Classes

struct  FromContainerTag
 

Public Types

using begin_iterator_t = BeginIter
 
using end_iterator_t = EndIter
 

Public Member Functions

 CollectionExtremes (BeginIter b, EndIter e)
 Constructor: copies the specified iterators. More...
 
begin_iterator_t const & begin () const
 Returns the stored begin iterator. More...
 
end_iterator_t const & end () const
 Returns the stored end iterator. More...
 

Static Public Attributes

static constexpr FromContainerTag fromContainer {}
 

Private Attributes

begin_iterator_t b
 Stored copy of begin iterator. More...
 
end_iterator_t e
 Stored copy of end iterator. More...
 

Detailed Description

template<typename BeginIter, typename EndIter = BeginIter>
class lar::details::CollectionExtremes< BeginIter, EndIter >

Class storing a begin and a end iterator.

Definition at line 122 of file CollectionView.h.

Member Typedef Documentation

template<typename BeginIter, typename EndIter = BeginIter>
using lar::details::CollectionExtremes< BeginIter, EndIter >::begin_iterator_t = BeginIter

Definition at line 124 of file CollectionView.h.

template<typename BeginIter, typename EndIter = BeginIter>
using lar::details::CollectionExtremes< BeginIter, EndIter >::end_iterator_t = EndIter

Definition at line 125 of file CollectionView.h.

Constructor & Destructor Documentation

template<typename BeginIter, typename EndIter = BeginIter>
lar::details::CollectionExtremes< BeginIter, EndIter >::CollectionExtremes ( BeginIter  b,
EndIter  e 
)
inline

Constructor: copies the specified iterators.

Definition at line 131 of file CollectionView.h.

131 : b(b), e(e) {}
begin_iterator_t b
Stored copy of begin iterator.
end_iterator_t e
Stored copy of end iterator.

Member Function Documentation

template<typename BeginIter, typename EndIter = BeginIter>
begin_iterator_t const& lar::details::CollectionExtremes< BeginIter, EndIter >::begin ( ) const
inline

Returns the stored begin iterator.

Definition at line 134 of file CollectionView.h.

134 { return b; }
begin_iterator_t b
Stored copy of begin iterator.
template<typename BeginIter, typename EndIter = BeginIter>
end_iterator_t const& lar::details::CollectionExtremes< BeginIter, EndIter >::end ( ) const
inline

Returns the stored end iterator.

Definition at line 137 of file CollectionView.h.

137 { return e; }
end_iterator_t e
Stored copy of end iterator.

Member Data Documentation

template<typename BeginIter, typename EndIter = BeginIter>
begin_iterator_t lar::details::CollectionExtremes< BeginIter, EndIter >::b
private

Stored copy of begin iterator.

Definition at line 141 of file CollectionView.h.

template<typename BeginIter, typename EndIter = BeginIter>
end_iterator_t lar::details::CollectionExtremes< BeginIter, EndIter >::e
private

Stored copy of end iterator.

Definition at line 142 of file CollectionView.h.

template<typename BeginIter, typename EndIter = BeginIter>
constexpr FromContainerTag lar::details::CollectionExtremes< BeginIter, EndIter >::fromContainer {}
static

Definition at line 128 of file CollectionView.h.


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