SORTIE Core C++ Documentation
|
Class that provides no NCI term (value of 1). More...
#include <NCITermNone.h>
Public Member Functions | |
ncivals | CalculateNCITerm (clTree *p_oTree, clTreePopulation *p_oPop, clPlot *p_oPlot, const float &fX, const float &fY, const int &iSpecies) |
Calculates NCI term. More... | |
void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement) |
Does any desired setup. More... | |
Public Member Functions inherited from clNCITermBase | |
clNCITermBase () | |
Constructor. More... | |
int | GetNumberNCIs () |
virtual void | PreCalcs (clTreePopulation *p_oPop) |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More... | |
virtual | ~clNCITermBase () |
Destructor. More... | |
bool | DoesRequireTargetDiam () |
Additional Inherited Members | |
Protected Attributes inherited from clNCITermBase | |
bool | bRequiresTargetDiam |
Whether or not this effect depends on a target diameter being available. More... | |
int | iNumNCIs |
Number of NCI values calculated and populated into ncivals. More... | |
Class that provides no NCI term (value of 1).
|
inlinevirtual |
Calculates NCI term.
p_oTree | Tree for which to calculate NCI. If bRequiresTargetDiam is false, be prepared for this to be NULL. |
p_oPop | Tree population. |
p_oPlot | Plot object. |
fX | X coordinate for which to calculate NCI. Needed if p_oTree is NULL. |
fY | Y coordinate for which to calculate NCI. Needed if p_oTree is NULL. |
iSpecies | Species for which to calculate NCI. Needed if p_oTree is NULL. |
Implements clNCITermBase.
|
inlinevirtual |
Does any desired setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
Implements clNCITermBase.