#include <yat/utility/Container2DIterator.h>
Public Member Functions | |
Container2DIterator (void) | |
Default Constructor. | |
Container2DIterator (Container &container, size_t row, size_t column) | |
Constructor. | |
Friends | |
class | boost::iterator_core_access |
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
.
theplu::yat::utility::Container2DIterator< Container, value, reference >::Container2DIterator | ( | Container & | container, | |
size_t | row, | |||
size_t | column | |||
) | [inline] |
Constructor.
container | iterator points to | |
row | telling which row iterator points to | |
column | telling which column iterator points to |