hydrobricks
Loading...
Searching...
No Matches
ActionGlacierSnowToIceTransformation.h
1#ifndef HYDROBRICKS_ACTION_GLACIER_SNOW_TO_ICE_TRANSFORMATION_H
2#define HYDROBRICKS_ACTION_GLACIER_SNOW_TO_ICE_TRANSFORMATION_H
3
4#include "Action.h"
5#include "Includes.h"
6
8 public:
17 ActionGlacierSnowToIceTransformation(int month, int day, const string& landCoverName);
18
19 ~ActionGlacierSnowToIceTransformation() override = default;
20
24 bool Init() override;
25
29 void Reset() override;
30
37 bool Apply(double date) override;
38
45 return _landCoverName;
46 }
47
53 vecInt GetHydroUnitIds() {
54 return _hydroUnitIds;
55 }
56
57 protected:
58 string _landCoverName;
59 vecInt _hydroUnitIds;
60};
61
62#endif // HYDROBRICKS_ACTION_GLACIER_SNOW_TO_ICE_TRANSFORMATION_H
Definition ActionGlacierSnowToIceTransformation.h:7
void Reset() override
Definition ActionGlacierSnowToIceTransformation.cpp:26
ActionGlacierSnowToIceTransformation(int month, int day, const string &landCoverName)
Definition ActionGlacierSnowToIceTransformation.cpp:7
bool Apply(double date) override
Definition ActionGlacierSnowToIceTransformation.cpp:30
vecInt GetHydroUnitIds()
Definition ActionGlacierSnowToIceTransformation.h:53
string GetLandCoverName()
Definition ActionGlacierSnowToIceTransformation.h:44
bool Init() override
Definition ActionGlacierSnowToIceTransformation.cpp:14
Definition Action.h:7