BioDynaMo
v1.05.120-25dc9790
|
An iterator that iterates over the cells in this box. More...
#include <uniform_grid_environment.h>
Public Member Functions | |
Iterator (UniformGridEnvironment *grid, const Box *box) | |
bool | IsAtEnd () const |
Iterator & | operator++ () |
AgentHandle | operator* () const |
Public Attributes | |
UniformGridEnvironment * | grid_ |
Pointer to the neighbor grid; for accessing the successor_ list. More... | |
AgentHandle | current_value_ |
The current agent to be considered. More... | |
int | countdown_ = 0 |
The remain number of agents to consider. More... | |
An iterator that iterates over the cells in this box.
Definition at line 129 of file uniform_grid_environment.h.
|
inline |
Definition at line 130 of file uniform_grid_environment.h.
|
inline |
Definition at line 137 of file uniform_grid_environment.h.
|
inline |
Definition at line 147 of file uniform_grid_environment.h.
|
inline |
Definition at line 139 of file uniform_grid_environment.h.
int bdm::UniformGridEnvironment::Box::Iterator::countdown_ = 0 |
The remain number of agents to consider.
Definition at line 154 of file uniform_grid_environment.h.
AgentHandle bdm::UniformGridEnvironment::Box::Iterator::current_value_ |
The current agent to be considered.
Definition at line 152 of file uniform_grid_environment.h.
UniformGridEnvironment* bdm::UniformGridEnvironment::Box::Iterator::grid_ |
Pointer to the neighbor grid; for accessing the successor_ list.
Definition at line 150 of file uniform_grid_environment.h.