Free Electron
PlantSeed.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __vegetation_PlantSeed_h__
8 #define __vegetation_PlantSeed_h__
9 
10 FE_ATTRIBUTE("veg:modelname", "Name of PlantModelI Component");
11 
12 namespace fe
13 {
14 namespace ext
15 {
16 
17 /**************************************************************************//**
18  @brief PlantSeed RecordView
19 
20  @ingroup vegetation
21 *//***************************************************************************/
22 class FE_DL_EXPORT PlantSeed: virtual public RecordView
23 {
24  public:
25  Functor<String> modelname;
26 
27  PlantSeed(void) { setName("PlantSeed"); }
28 virtual void addFunctors(void)
29  {
30  add(modelname, FE_USE("veg:modelname"));
31  }
32 virtual void initializeRecord(void)
33  {
34  }
35 };
36 
37 } /* namespace ext */
38 } /* namespace fe */
39 
40 #endif /* __vegetation_PlantSeed_h__ */
41 
42 
virtual void addFunctors(void)
Called at instantiation to add functors.
Definition: PlantSeed.h:28
kernel
Definition: namespace.dox:3
Bound accessor in a RecordView.
Definition: RecordView.h:147
PlantSeed RecordView.
Definition: PlantSeed.h:22
virtual void initializeRecord(void)
Called at instantiation to initialize attributes.
Definition: PlantSeed.h:32
Bindable collection of accessor Functors.
Definition: RecordView.h:106