LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-lime.h
1
8
9#ifndef LDNDC_INPUT_EVENT_LIME_H_
10#define LDNDC_INPUT_EVENT_LIME_H_
11
12#include "event/events/eventbase.h"
13
14
15#ifdef __this_event_name
16# undef __this_event_name
17#endif
18#define __this_event_name lime
19
20namespace ldndc{
21namespace event{
22
32struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
33{
34 __event_attrib_class_name(__this_event_name)();
35 ~__event_attrib_class_name(__this_event_name)();
36
38 cbm::string_t type;
39
41 double amount;
42
44 double depth;
45
47 double ph_target;
48};
49
50class CBM_API __event_class_name(__this_event_name) : public Event
51{
52 EVENT_COMMON_DECL(__this_event_name)
53
54 public:
55 cbm::string_t const & type() const
56 { return attribs_->type; }
57 double amount() const
58 { return attribs_->amount; }
59 double depth() const
60 { return attribs_->depth; }
61 double ph_target() const
62 { return attribs_->ph_target; }
63};
64}}
65
66#endif /* !LDNDC_INPUT_EVENT_LIME_H_ */
67
Spatially explicit groundwater model.
Definition airchemistryput.h:15