yat
0.14.5pre
|
Iterator for a Container2D. More...
#include <yat/utility/Container2DIterator.h>
Public Member Functions | |
Container2DIterator (void) | |
Default Constructor. | |
Container2DIterator (Container &container, size_t row, size_t column) | |
Constructor. More... | |
Friends | |
class | boost::iterator_core_access |
Iterator for a Container2D.
The iterator can be used to traverse through a Container2D row by row.
Type Requirements:
Container
must be a Container2Dvalue
is typically Container::value_type
if Container2DIterator is mutable or const
Container::value_type
otherwise.reference
, typically value&
, must be convertible to value
Container
must have an operator()(size_t, size_t)
that returns a type that is convertible to reference
.
|
inline |
Constructor.
container | iterator points to |
row | telling which row iterator points to |
column | telling which column iterator points to |