|
iLand
|
The ActivityObj class encapsulates the 'activity' object in JS. More...
#include <fomescript.h>
Public Member Functions | |
| ActivityObj (QObject *parent=0) | |
| ActivityObj (FMStand *stand, Activity *act, int index) | |
| void | setStand (FMStand *stand) |
| default-case: set a forest stand as the context. More... | |
| void | setActivity (Activity *act) |
| set an activity context (without a stand) to access base properties of activities More... | |
| void | setActivityIndex (const int index) |
| set an activity that is not the current activity of the stand More... | |
| QString | name () const |
| bool | enabled () const |
| void | setEnabled (bool do_enable) |
| bool | active () const |
| void | setActive (bool activate) |
| bool | finalHarvest () const |
| void | setFinalHarvest (bool isfinal) |
| bool | scheduled () const |
| void | setScheduled (bool issched) |
Properties | |
| bool | enabled |
| bool | active |
| bool | finalHarvest |
| bool | scheduled |
| QString | name |
The ActivityObj class encapsulates the 'activity' object in JS.
The 'activity' can be used to fine-tune the management activities (e.g., set the enable/disable flags).
|
inlineexplicit |
|
inline |
| bool ABE::ActivityObj::enabled | ( | ) | const |
|
inline |
| QString ABE::ActivityObj::name | ( | ) | const |
|
inline |
|
inline |
|
inline |
set an activity context (without a stand) to access base properties of activities
|
inline |
set an activity that is not the current activity of the stand
| void ABE::ActivityObj::setEnabled | ( | bool | do_enable | ) |
|
inline |
|
inline |
|
inline |
default-case: set a forest stand as the context.
|
readwrite |
|
readwrite |
|
readwrite |
|
read |
|
readwrite |