#include <grid.hpp>
Collaboration diagram for Arak::Grid< ItemType >::Cell::Entry:
Definition at line 107 of file grid.hpp.
Public Member Functions | |
Entry () | |
Constructor. | |
Entry (Cell *cell, ItemIterator it) | |
Constructor. | |
bool | valid () const |
Tests to see if this entry is still valid. | |
void | remove () |
Removes the item stored in this entry from the internal list of items associated with this cell. | |
const Cell & | getCell () const |
Returns the cell in which this entry resides. | |
Private Attributes | |
Cell * | cell |
The cell in which the entry resides. | |
ItemIterator | it |
An iterator that points to the item. |
|
Constructor.
Definition at line 126 of file grid.hpp. References Arak::Grid< ItemType >::Cell::Entry::cell. |
|
Constructor.
Definition at line 131 of file grid.hpp. References Arak::Grid< ItemType >::Cell::ItemIterator. |
|
Returns the cell in which this entry resides.
Definition at line 153 of file grid.hpp. References Arak::Grid< ItemType >::Cell::Entry::cell. |
|
Removes the item stored in this entry from the internal list of items associated with this cell. This entry becomes invalid after this operation. Definition at line 143 of file grid.hpp. References Arak::Grid< ItemType >::Cell::Entry::cell, Arak::Grid< ItemType >::Cell::items, Arak::Grid< ItemType >::Cell::unused, and Arak::Grid< ItemType >::Cell::Entry::valid(). |
|
Tests to see if this entry is still valid.
Definition at line 136 of file grid.hpp. References Arak::Grid< ItemType >::Cell::Entry::cell. Referenced by Arak::Grid< ItemType >::Cell::Entry::remove(). |
|
The cell in which the entry resides.
Definition at line 114 of file grid.hpp. Referenced by Arak::Grid< ItemType >::Cell::Entry::Entry(), Arak::Grid< ItemType >::Cell::Entry::getCell(), Arak::Grid< ItemType >::Cell::Entry::remove(), and Arak::Grid< ItemType >::Cell::Entry::valid(). |
|
An iterator that points to the item.
|