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
26 [[nodiscard]] bool Init() override;
27
31 void Reset() override;
32
39 [[nodiscard]] bool Apply(double date) override;
40
46 const string& GetLandCoverName() const {
47 return _landCoverName;
48 }
49
55 const vecInt& GetHydroUnitIds() const {
56 return _hydroUnitIds;
57 }
58
59 protected:
60 string _landCoverName;
61 vecInt _hydroUnitIds;
62};
63
64#endif // HYDROBRICKS_ACTION_GLACIER_SNOW_TO_ICE_TRANSFORMATION_H
Definition ActionGlacierSnowToIceTransformation.h:7
const string & GetLandCoverName() const
Definition ActionGlacierSnowToIceTransformation.h:46
void Reset() override
Definition ActionGlacierSnowToIceTransformation.cpp:37
ActionGlacierSnowToIceTransformation(int month, int day, const string &landCoverName)
Definition ActionGlacierSnowToIceTransformation.cpp:7
bool Apply(double date) override
Definition ActionGlacierSnowToIceTransformation.cpp:41
const vecInt & GetHydroUnitIds() const
Definition ActionGlacierSnowToIceTransformation.h:55
bool Init() override
Definition ActionGlacierSnowToIceTransformation.cpp:14
Definition Action.h:7