#include <fmsaplinglist.h>
|
double | sum (QString expression, QString filter=QLatin1Literal("")) |
| return the sum of 'expression' over all saplings in the list if 'filter' is provided, only trees are counted for which 'filter' evaluates to true. More...
|
|
int | filter (QString filter) |
| apply a filter on the current list of saplings. More...
|
|
int | kill (QString filter=QLatin1Literal("")) |
| kill all saplings in the list for which "filter" evaluates to true (or all if filter is omitted) return the number of killed cohorts More...
|
|
int | browse (bool do_browse=true) |
| affect all saplings by browsing -> this reduces the height growth in the current year to 0 More...
|
|
◆ FMSaplingList()
ABE::FMSaplingList::FMSaplingList |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ browse
int ABE::FMSaplingList::browse |
( |
bool |
do_browse = true | ) |
|
|
slot |
affect all saplings by browsing -> this reduces the height growth in the current year to 0
◆ filter
int ABE::FMSaplingList::filter |
( |
QString |
filter | ) |
|
|
slot |
apply a filter on the current list of saplings.
Only saplings for which 'filter' returns true remain in the list. returns the number of sapplings that remain in the list.
◆ kill
int ABE::FMSaplingList::kill |
( |
QString |
filter = QLatin1Literal("") | ) |
|
|
slot |
kill all saplings in the list for which "filter" evaluates to true (or all if filter is omitted) return the number of killed cohorts
◆ length()
int ABE::FMSaplingList::length |
( |
| ) |
|
|
inline |
◆ loadFromRect()
int ABE::FMSaplingList::loadFromRect |
( |
ResourceUnit * |
ru, |
|
|
const QRectF & |
rect |
|
) |
| |
load saplings from a portion of a RU
◆ loadFromRU()
int ABE::FMSaplingList::loadFromRU |
( |
ResourceUnit * |
ru, |
|
|
bool |
append = false |
|
) |
| |
load all saplings from RU
◆ saplings()
◆ sum
double ABE::FMSaplingList::sum |
( |
QString |
expression, |
|
|
QString |
filter = QLatin1Literal("") |
|
) |
| |
|
slot |
return the sum of 'expression' over all saplings in the list if 'filter' is provided, only trees are counted for which 'filter' evaluates to true.
◆ count
int ABE::FMSaplingList::count |
|
read |
The documentation for this class was generated from the following files: