Speeduino
|
Iterate through a table row. I.e. constant Y, changing X. More...
#include <table3d_values.h>
Public Member Functions | |
table_row_iterator (const table3d_value_t *pRowStart, table3d_dim_t rowWidth) | |
Construct. | |
const table3d_value_t * | end (void) const |
Pointer to the end of the row. | |
table3d_value_t * | end (void) |
Pointer to the end of the row. | |
table_row_iterator & | advance (table3d_dim_t steps) |
Advance the iterator. | |
table_row_iterator & | operator++ (void) |
Increment the iterator by one element. | |
bool | at_end (void) const |
Test for end of iteration. | |
const table3d_value_t & | operator* (void) const |
Dereference the iterator. | |
table3d_value_t & | operator* (void) |
Dereference the iterator. | |
table3d_dim_t | size (void) const |
Number of elements available. | |
Iterate through a table row. I.e. constant Y, changing X.
Instances of this class are normally created via a table_value_iterator instance.
|
inline |
Construct.
pRowStart | Pointer to the 1st element in the row |
rowWidth | The number of elements to in the row |
|
inline |
Advance the iterator.
steps | The number of elements to move the iterator |
|
inline |
Pointer to the end of the row.
|
inline |
Pointer to the end of the row.
|
inline |
Dereference the iterator.
|
inline |
Dereference the iterator.
|
inline |
Increment the iterator by one element.
|
inline |
Number of elements available.