4#ifndef _3608ae00_0c4a_4bb2_a439_7094206b302f
5#define _3608ae00_0c4a_4bb2_a439_7094206b302f
51 typename T::value_type
const &
item()
const
57 std::size_t
end()
const
119 typename T::value_type &
item()
Read-only iterator to a container.
Definition Iterator.h:15
std::size_t end() const
Return the end value.
Definition Iterator.h:57
msl::Mask::Points const & container() const
Definition Iterator.h:30
bool first() const
Test if the index is 0.
Definition Iterator.h:80
T _container
Definition Iterator.h:99
ConstIterator< T > & operator=(ConstIterator< T > &&)=default
bool last() const
Test if the index is equal to end-1.
Definition Iterator.h:86
ConstIterator & reset()
Reset the iterator to the start of the container.
Definition Iterator.h:63
T::value_type const & item() const
Return the current item.
Definition Iterator.h:51
void setContainer(T const &container)
Set the container, reset the counter.
Definition Iterator.h:36
ConstIterator & operator++()
Move to the next element.
Definition Iterator.h:73
ConstIterator(ConstIterator< T > &&)=default
ConstIterator(ConstIterator< T > const &)=default
virtual ~ConstIterator()=default
Counter _counter
Definition Iterator.h:98
ConstIterator< T > & operator=(ConstIterator< T > const &)=default
ConstIterator(T const &container={})
Definition Iterator.h:17
bool done() const
Test if the index is equal to end.
Definition Iterator.h:92
std::size_t index() const
Return the current index.
Definition Iterator.h:45
Counter from 0 (included) to end (excluded).
Definition Counter.h:14
Iterator< T > & operator=(Iterator< T > &&)=default
Iterator(Iterator< T > const &)=default
Iterator< T > & operator=(Iterator< T > const &)=default
Iterator(T const &container={})
Definition Iterator.h:107
T::value_type & item()
Return the current item.
Definition Iterator.h:119
Iterator(Iterator< T > &&)=default
Definition acceleration.h:17