SORTIE Core C++ Documentation
|
NCI behavior base. More...
#include <NCIBehaviorBase.h>
Public Member Functions | |
clNCIBehaviorBase () | |
Constructor. More... | |
~clNCIBehaviorBase () | |
Destructor. More... | |
clShadingEffectBase * | GetShadingEffect () |
Get the shading effect object. More... | |
clDamageEffectBase * | GetDamageEffect () |
Get the damage effect object. More... | |
clSizeEffectBase * | GetSizeEffect () |
Get the size effect object. More... | |
clCrowdingEffectBase * | GetCrowdingEffect () |
Get the crowding effect object. More... | |
clNCITermBase * | GetNCITerm () |
Get the NCI term object. More... | |
clPrecipitationEffectBase * | GetPrecipEffect () |
Get the precipitation effect object. More... | |
clTemperatureEffectBase * | GetTempEffect () |
Get the temperature effect object. More... | |
clNitrogenEffectBase * | GetNEffect () |
Get the nitrogen effect object. More... | |
clInfectionEffectBase * | GetInfectionEffect () |
Get the infection effect object. More... | |
Protected Member Functions | |
void | ReadParameterFile (xercesc::DOMElement *p_oElement, clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, bool bUsingDiam) |
Reads data from the parameter file for the effects objects. More... | |
Protected Attributes | |
clShadingEffectBase * | mp_oShadingEffect |
The shading effect object. More... | |
clDamageEffectBase * | mp_oDamageEffect |
The damage effect object. More... | |
clSizeEffectBase * | mp_oSizeEffect |
The size effect object. More... | |
clCrowdingEffectBase * | mp_oCrowdingEffect |
The crowding effect object. More... | |
clNCITermBase * | mp_oNCITerm |
The NCI term object. More... | |
clPrecipitationEffectBase * | mp_oPrecipEffect |
The precipitation effect object. More... | |
clTemperatureEffectBase * | mp_oTempEffect |
The temperature effect object. More... | |
clNitrogenEffectBase * | mp_oNEffect |
The nitrogen effect object. More... | |
clInfectionEffectBase * | mp_oInfectionEffect |
The infection effect object. More... | |
NCI behavior base.
This is a base class for classes that are going to implement NCI functions.
Copyright 2012 Charles D. Canham.
Edit history:
--------------—
December 18, 2013: Created (LEM)
clNCIBehaviorBase::clNCIBehaviorBase | ( | ) |
Constructor.
clNCIBehaviorBase::~clNCIBehaviorBase | ( | ) |
Destructor.
Frees memory.
|
inline |
Get the crowding effect object.
|
inline |
Get the damage effect object.
|
inline |
Get the infection effect object.
|
inline |
Get the NCI term object.
|
inline |
Get the nitrogen effect object.
|
inline |
Get the precipitation effect object.
|
inline |
Get the shading effect object.
|
inline |
Get the size effect object.
|
inline |
Get the temperature effect object.
|
protected |
Reads data from the parameter file for the effects objects.
This allows for a child behavior that does not use individual targets with diameters. If that is the case, this will not set a size effect and will throw errors for all effects that depend on a target diameter.
p_oElement | Parent element for this behavior. |
p_oPop | Tree population object. |
p_oNCI | Parent behavior. |
bUsingDiam | If false, a behavior has no target diameter. |
modelErr | if bUsingDiam is false and a user requests an effect that depends on a target diameter. |
|
protected |
The crowding effect object.
|
protected |
The damage effect object.
|
protected |
The infection effect object.
|
protected |
The NCI term object.
|
protected |
The nitrogen effect object.
|
protected |
The precipitation effect object.
|
protected |
The shading effect object.
|
protected |
The size effect object.
|
protected |
The temperature effect object.