47 #ifndef _MIRA_ITERATORRANGECONTAINER_H_ 48 #define _MIRA_ITERATORRANGECONTAINER_H_ 63 template <
typename Iterator>
105 return std::distance(
begin(),
end());
std::size_t size() const
Returns the number of elements in the given range.
Definition: IteratorRangeContainer.h:104
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
IteratorRangeContainer(const Iterator &begin, const Iterator &end)
Constructor taking two iterators that define the range.
Definition: IteratorRangeContainer.h:73
IteratorRangeContainer()
Default constructor.
Definition: IteratorRangeContainer.h:69
Iterator::reference reference
Definition: IteratorRangeContainer.h:79
reference front() const
Returns the first element in the range.
Definition: IteratorRangeContainer.h:94
Iterator iterator
Definition: IteratorRangeContainer.h:78
iterator begin() const
Returns an iterator to the first element of the range.
Definition: IteratorRangeContainer.h:84
reference back() const
Returns the last element in the range.
Definition: IteratorRangeContainer.h:97
iterator end() const
Returns an iterator to the end of the range.
Definition: IteratorRangeContainer.h:89
Wraps an STL conform container around a range of values within another container. ...
Definition: IteratorRangeContainer.h:64