STL compatible iterator.
More...
STL compatible iterator.
Iterator used to traverse the grid using STL or STL like code.
- See also
- GridIndexPoints
◆ iterator()
Burger::GridIndexPoints::iterator::iterator |
( |
const GridIndexPoints * | pParent | ) |
|
|
inline |
◆ advance()
void BURGER_API Burger::GridIndexPoints::iterator::advance |
( |
void | | ) |
|
Step to the next data entry.
Point at next element in the iteration. Will assert if it's called when it's already reached the end of the data.
- See also
- operator++()
◆ at_end()
uint_t Burger::GridIndexPoints::iterator::at_end |
( |
void | | ) |
const |
|
inline |
TRUE if the iterator is at the end of the data
- Returns
- FALSE if the is more data remaining, TRUE if data is exhausted.
◆ operator*()
Entry_t & Burger::GridIndexPoints::iterator::operator* |
( |
| ) |
const |
|
inline |
Access the entry with a reference.
Allows the used of the * operator to dereference the underlying data via a reference.
- Returns
- Reference to the data entry.
- See also
- operator->() const
◆ operator++()
void Burger::GridIndexPoints::iterator::operator++ |
( |
| ) |
|
|
inline |
Step to the next data entry.
Iterate over the data until the next valid data chunk is found. If the iterator is already at the end of the data, no action is performed.
- See also
- advance(void)
◆ operator->()
Entry_t * Burger::GridIndexPoints::iterator::operator-> |
( |
| ) |
const |
|
inline |
Access the entry with a reference.
Allows the used of the * operator to dereference the underlying data via a pointer.
- Returns
- Pointer to the data entry.
- See also
- operator*() const
◆ m_pEntry
Entry_t* Burger::GridIndexPoints::iterator::m_pEntry |
◆ m_pParent
◆ m_QueryCellsRect
Rect_t Burger::GridIndexPoints::iterator::m_QueryCellsRect |
Bounds rectangle in cells.
◆ m_QueryRect
Vector4D_t Burger::GridIndexPoints::iterator::m_QueryRect |
◆ m_uCurrentCellX
uint_t Burger::GridIndexPoints::iterator::m_uCurrentCellX |
Last accessed cell X coordinate.
◆ m_uCurrentCellY
uint_t Burger::GridIndexPoints::iterator::m_uCurrentCellY |
Last accessed cell Y coordinate.