Rules for hydro levels, for all years and areas.
More...
#include <hydroLevelsData.h>
|
| hydroLevelsData (const std::string &iniFilePrefix, std::function< void(Study &, MatrixType &)> applyToTarget) |
|
|
bool | reset (const Study &study) override |
| Reset data from the study.
|
|
void | saveToINIFile (const Study &study, Yuni::IO::File::Stream &file) const override |
| Export the data into a mere INI file.
|
|
void | setTSnumber (uint index, uint year, double value) |
| Assign a single value.
|
|
uint | width () const override |
|
uint | height () const override |
|
double | get_value (uint x, uint y) const |
|
void | set_value (uint x, uint y, double value) |
|
bool | apply (Study &study) override |
| Apply the changes to the study corresponding data (time series, hydro levels, ...)
|
|
Rules for hydro levels, for all years and areas.
◆ apply()
bool Antares::Data::ScenarioBuilder::hydroLevelsData::apply |
( |
Study & | study | ) |
|
|
overridevirtual |
◆ height()
uint Antares::Data::ScenarioBuilder::hydroLevelsData::height |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ reset()
bool Antares::Data::ScenarioBuilder::hydroLevelsData::reset |
( |
const Study & | study | ) |
|
|
overridevirtual |
◆ saveToINIFile()
void Antares::Data::ScenarioBuilder::hydroLevelsData::saveToINIFile |
( |
const Study & | study, |
|
|
Yuni::IO::File::Stream & | file ) const |
|
overridevirtual |
◆ setTSnumber()
void Antares::Data::ScenarioBuilder::hydroLevelsData::setTSnumber |
( |
uint | index, |
|
|
uint | year, |
|
|
double | value ) |
|
inline |
Assign a single value.
- Parameters
-
index | An area index |
year | A year |
value | The new hydro level |
◆ width()
uint Antares::Data::ScenarioBuilder::hydroLevelsData::width |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- src/libs/antares/study/include/antares/study/scenario-builder/hydroLevelsData.h
- src/libs/antares/study/scenario-builder/hydroLevelsData.cpp