1 #ifndef TIL_CONSTIMAGERLELINEARITERATOR_H 2 #define TIL_CONSTIMAGERLELINEARITERATOR_H 26 template <
typename T >
28 :
public ImageIterator_label
52 bool isAtEnd()
const {
return m_flagIsAtEnd; }
54 reference
operator*()
const {
return m_value.getValue(); }
58 --(m_value.getRepeat());
61 if (m_value.getRepeat() == 0)
67 if (m_iList == m_iLine->end())
73 if (m_iLine == m_im.m_data.end())
78 m_iList = m_iLine->begin();
88 typedef typename ImageRLE<T>::Line Line;
89 typedef typename ImageRLE<T>::Data Data;
103 typename Line::const_iterator m_iList;
104 typename Data::const_iterator m_iLine;
151 template <
typename T >
164 m_iLine = m_im.m_data.begin();
165 m_iList = (*m_iLine).begin();
167 m_flagIsAtEnd =
false;
reference operator*() const
const ImageRLE< T > & image() const
Image class using run-length encoded data.
Belongs to package Box Do not include directly, include til/Box.h instead.
General macros, definitions and functions.
Defines empty classes that serves as labels.