23#ifndef LDNDC_INPUT_EVENT_HARVEST_H_
24#define LDNDC_INPUT_EVENT_HARVEST_H_
26#include "event/events/eventbase.h"
27#include "species/speciestypes.h"
30#ifdef __this_event_name
31# undef __this_event_name
33#define __this_event_name harvest
85struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
87 __event_attrib_class_name(__this_event_name)();
88 ~__event_attrib_class_name(__this_event_name)();
108 double remains_relative;
114 double remains_absolute;
120 double export_stem_wood;
126 double export_branch_wood;
132 double export_root_wood;
141 std::string follow_type;
153 double follow_till_depth;
162 event_trigger_t trigger;
164class CBM_API __event_class_name(__this_event_name) :
public Event
166 EVENT_COMMON_DECL(__this_event_name)
170 char const * species_name()
const
171 {
return this->attribs_->name.c_str(); }
173 double height()
const
174 {
return this->attribs_->height; }
176 double remains_relative()
const
177 {
return this->attribs_->remains_relative; }
178 double remains_absolute()
const
179 {
return this->attribs_->remains_absolute; }
181 double export_stem_wood()
const
182 {
return this->attribs_->export_stem_wood; }
183 double export_branch_wood()
const
184 {
return this->attribs_->export_branch_wood; }
185 double export_root_wood()
const
186 {
return this->attribs_->export_root_wood; }
188 bool mulching()
const
189 {
return this->attribs_->mulching; }
198 bool have_follow()
const
199 {
return !this->attribs_->follow_type.empty(); }
200 char const * follow_type()
const
201 {
return this->attribs_->follow_type.c_str(); }
202 int follow_delay()
const
203 {
return this->attribs_->follow_delay; }
204 double follow_till_depth()
const
205 {
return this->attribs_->follow_till_depth; }
208 event_trigger_t
const & trigger()
const
209 {
return this->attribs_->trigger; }
Spatially explicit groundwater model.
Definition airchemistryput.h:21