|
vecInt | m_hydroUnitIds |
|
vecInt | m_landCoverIds |
|
vecStr | m_landCoverNames |
|
vecDouble | m_areas |
|
ActionsManager * | m_manager |
|
int | m_cursor |
|
vecDouble | m_sporadicDates |
|
bool | m_recursive |
|
vecInt | m_recursiveMonths |
|
vecInt | m_recursiveDays |
|
◆ AddChange()
void ActionLandCoverChange::AddChange |
( |
double | date, |
|
|
int | hydroUnitId, |
|
|
const string & | landCoverName, |
|
|
double | area ) |
Add a land cover change to the action.
- Parameters
-
date | date of the change. |
hydroUnitId | ID of the hydro unit. |
landCoverName | name of the land cover. |
area | area of the land cover. |
◆ Apply()
bool ActionLandCoverChange::Apply |
( |
double | date | ) |
|
|
overridevirtual |
Apply the action to the model.
- Parameters
-
- Returns
- true if the action was applied successfully.
Reimplemented from Action.
◆ GetChangesNb()
int ActionLandCoverChange::GetChangesNb |
( |
| ) |
const |
|
inline |
Get the number of changes in the action.
- Returns
- the number of changes in the action.
◆ GetLandCoversNb()
int ActionLandCoverChange::GetLandCoversNb |
( |
| ) |
const |
|
inline |
Get the number of land covers in the action.
- Returns
- the number of land covers in the action.
The documentation for this class was generated from the following files:
- /github/workspace/core/src/actions/ActionLandCoverChange.h
- /github/workspace/core/src/actions/ActionLandCoverChange.cpp