18#ifndef LDNDC_INPUT_EVENT_PLANT_H_
19#define LDNDC_INPUT_EVENT_PLANT_H_
21#include "event/events/eventbase.h"
24#ifdef __this_event_name
25# undef __this_event_name
27#define __this_event_name plant
30#include "species/speciestypes.h"
31#include "speciesparameters/speciesparameterstypes.h"
55struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
57 __event_attrib_class_name(__this_event_name)();
58 ~__event_attrib_class_name(__this_event_name)();
61 ldndc::species::species_group_e group;
73 species::species_properties_t * properties;
76 species::any_properties_t any;
77 species::crop_properties_t crop;
78 species::grass_properties_t grass;
79 species::wood_properties_t wood;
83 speciesparameters::parameterized_species_t * params;
85class CBM_API __event_class_name(__this_event_name) :
public Event
87 EVENT_COMMON_DECL(__this_event_name)
90 ldndc::species::species_group_e group()
const
91 {
return this->attribs_->group; }
93 char const * species_type()
const
94 {
return this->attribs_->type.c_str(); }
95 char const * species_name()
const
96 {
return this->attribs_->name.c_str(); }
97 char const * species_longname()
const
98 {
return this->attribs_->longname.c_str(); }
99 char const * location()
const
100 {
return this->attribs_->location.c_str(); }
102 species::species_properties_t
const * species_properties()
103 const {
return this->attribs_->properties; }
104 species::any_properties_t
const & any()
105 const {
return this->attribs_->any; }
106 species::crop_properties_t
const & crop()
107 const {
return this->attribs_->crop; }
108 species::grass_properties_t
const & grass()
109 const {
return this->attribs_->grass; }
110 species::wood_properties_t
const & wood()
111 const {
return this->attribs_->wood; }
114 bool speciesparameters_given()
const;
115 speciesparameters::speciesparameters_set_t params()
const;
Spatially explicit groundwater model.
Definition airchemistryput.h:21