#include <model.h>
◆ AllTreeIterator()
AllTreeIterator::AllTreeIterator |
( |
Model * |
model | ) |
|
|
inline |
◆ current()
Tree * AllTreeIterator::current |
( |
| ) |
const |
◆ currentRU()
◆ next()
Tree * AllTreeIterator::next |
( |
| ) |
|
iterate over all trees of the model.
return NULL if all trees processed. Usage:
while (
Tree *tree = trees.next()) {
tree->something();
}
A tree is the basic simulation entity of iLand and represents a single tree.
Definition: tree.h:44
◆ nextLiving()
Tree * AllTreeIterator::nextLiving |
( |
| ) |
|
◆ operator*()
Tree * AllTreeIterator::operator* |
( |
| ) |
const |
|
inline |
◆ reset()
void AllTreeIterator::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: