SORTIE C++ Test Documentation
Functions
TestAllometry.h File Reference
#include <fstream>

Functions

const char * WriteAllometryXMLFile1 ()
 Tests the clAllometry class. More...
 
const char * WriteAllometryXMLFile2 ()
 This writes a file with only standard functions and parameters, to make sure that the others aren't required if not needed. More...
 
const char * WriteAllometryXMLFile3 ()
 This writes a file with only linear functions and parameters, to make sure that the others aren't required if not needed. More...
 
const char * WriteAllometryXMLFile4 ()
 This writes a file with only reverse linear functions and parameters, to make sure that the others aren't required if not needed. More...
 
const char * WriteAllometryXMLFile5 ()
 This writes a file with linear height-DBH and standard crown adult parameters, and standard height-DBH and Chapman-Richards sapling parameters, to make sure arrays are declared correctly. More...
 
const char * WriteAllometryXMLFile6 ()
 This writes a file with linear height-DBH and Chapman-Richards crown adult parameters, and standard sapling parameters, to make sure arrays are declared correctly. More...
 
const char * WriteAllometryXMLErrorFile1 ()
 This writes a file with an unrecognized function for adult allometry. More...
 
const char * WriteAllometryXMLErrorFile2 ()
 This writes a file with an unrecognized function for sapling allometry. More...
 
const char * WriteAllometryXMLErrorFile3 ()
 This writes a file with an unrecognized function for seedling allometry. More...
 
const char * WriteAllometryXMLErrorFile4 ()
 This writes a file with a 0 value for adult linear slope. More...
 
const char * WriteAllometryXMLErrorFile5 ()
 This writes a file with a 0 value for adult reverse linear slope. More...
 
const char * WriteAllometryXMLErrorFile6 ()
 This writes a file with a 0 value for sapling linear slope. More...
 
const char * WriteAllometryXMLErrorFile7 ()
 This writes a file with a 0 value for sapling reverse linear slope. More...
 
const char * WriteAllometryXMLErrorFile8 ()
 This writes a file with a 0 value for seedling linear slope. More...
 
const char * WriteAllometryXMLErrorFile9 ()
 This writes a file with a 0 value for seedling reverse linear slope. More...
 
const char * WriteAllometryXMLErrorFile10 ()
 This writes a file with a 0 value for diam10 to dbh ratio. More...
 
const char * WriteAllometryXMLErrorFile11 ()
 This writes a file with an unrecognized function for adult crown radius. More...
 
const char * WriteAllometryXMLErrorFile12 ()
 This writes a file with an unrecognized function for adult crown height. More...
 
const char * WriteAllometryXMLErrorFile13 ()
 This writes a file with an unrecognized function for sapling crown radius. More...
 
const char * WriteAllometryXMLErrorFile14 ()
 This writes a file with an unrecognized function for sapling crown height. More...
 
void WriteAllometryCommonPlot (std::fstream &oOut)
 This writes common plot parameters. More...
 
void WriteAllometryCommonTrees (std::fstream &oOut, const int &iNumSpp)
 This writes common trees parameters. More...
 
void WriteAllometryCommonBehaviorList (std::fstream &oOut)
 This writes a common behavior list. More...
 
void WriteAllometryCommonErrorBlock1 (std::fstream &oOut)
 This writes a common error file portion. More...
 
void WriteAllometryCommonErrorBlock2 (std::fstream &oOut)
 This writes a common error file portion. More...
 
void WriteAllometryCommonErrorBlock3 (std::fstream &oOut)
 This writes a common error file portion. More...
 

Function Documentation

◆ WriteAllometryCommonBehaviorList()

void WriteAllometryCommonBehaviorList ( std::fstream &  oOut)

This writes a common behavior list.

Parameters
oOutFile stream to write to.

◆ WriteAllometryCommonErrorBlock1()

void WriteAllometryCommonErrorBlock1 ( std::fstream &  oOut)

This writes a common error file portion.

Parameters
oOutFile stream to write to.

◆ WriteAllometryCommonErrorBlock2()

void WriteAllometryCommonErrorBlock2 ( std::fstream &  oOut)

This writes a common error file portion.

Parameters
oOutFile stream to write to.

◆ WriteAllometryCommonErrorBlock3()

void WriteAllometryCommonErrorBlock3 ( std::fstream &  oOut)

This writes a common error file portion.

Parameters
oOutFile stream to write to.

◆ WriteAllometryCommonPlot()

void WriteAllometryCommonPlot ( std::fstream &  oOut)

This writes common plot parameters.

Parameters
oOutFile stream to write to.

◆ WriteAllometryCommonTrees()

void WriteAllometryCommonTrees ( std::fstream &  oOut,
const int &  iNumSpp 
)

This writes common trees parameters.

Parameters
oOutFile stream to write to.
iNumSppNumber of species.

◆ WriteAllometryXMLErrorFile1()

const char* WriteAllometryXMLErrorFile1 ( )

This writes a file with an unrecognized function for adult allometry.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile10()

const char* WriteAllometryXMLErrorFile10 ( )

This writes a file with a 0 value for diam10 to dbh ratio.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile11()

const char* WriteAllometryXMLErrorFile11 ( )

This writes a file with an unrecognized function for adult crown radius.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile12()

const char* WriteAllometryXMLErrorFile12 ( )

This writes a file with an unrecognized function for adult crown height.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile13()

const char* WriteAllometryXMLErrorFile13 ( )

This writes a file with an unrecognized function for sapling crown radius.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile14()

const char* WriteAllometryXMLErrorFile14 ( )

This writes a file with an unrecognized function for sapling crown height.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile2()

const char* WriteAllometryXMLErrorFile2 ( )

This writes a file with an unrecognized function for sapling allometry.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile3()

const char* WriteAllometryXMLErrorFile3 ( )

This writes a file with an unrecognized function for seedling allometry.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile4()

const char* WriteAllometryXMLErrorFile4 ( )

This writes a file with a 0 value for adult linear slope.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile5()

const char* WriteAllometryXMLErrorFile5 ( )

This writes a file with a 0 value for adult reverse linear slope.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile6()

const char* WriteAllometryXMLErrorFile6 ( )

This writes a file with a 0 value for sapling linear slope.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile7()

const char* WriteAllometryXMLErrorFile7 ( )

This writes a file with a 0 value for sapling reverse linear slope.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile8()

const char* WriteAllometryXMLErrorFile8 ( )

This writes a file with a 0 value for seedling linear slope.

Returns
Filename written.

◆ WriteAllometryXMLErrorFile9()

const char* WriteAllometryXMLErrorFile9 ( )

This writes a file with a 0 value for seedling reverse linear slope.

Returns
Filename written.

◆ WriteAllometryXMLFile1()

const char* WriteAllometryXMLFile1 ( )

Tests the clAllometry class.

Writes a parameter file to test allometry. This contains six species, with functions mixed up between them.

Returns
Filename written.

◆ WriteAllometryXMLFile2()

const char* WriteAllometryXMLFile2 ( )

This writes a file with only standard functions and parameters, to make sure that the others aren't required if not needed.

Returns
Filename written.

◆ WriteAllometryXMLFile3()

const char* WriteAllometryXMLFile3 ( )

This writes a file with only linear functions and parameters, to make sure that the others aren't required if not needed.

Returns
Filename written.

◆ WriteAllometryXMLFile4()

const char* WriteAllometryXMLFile4 ( )

This writes a file with only reverse linear functions and parameters, to make sure that the others aren't required if not needed.

Returns
Filename written.

◆ WriteAllometryXMLFile5()

const char* WriteAllometryXMLFile5 ( )

This writes a file with linear height-DBH and standard crown adult parameters, and standard height-DBH and Chapman-Richards sapling parameters, to make sure arrays are declared correctly.

Returns
Filename written.

◆ WriteAllometryXMLFile6()

const char* WriteAllometryXMLFile6 ( )

This writes a file with linear height-DBH and Chapman-Richards crown adult parameters, and standard sapling parameters, to make sure arrays are declared correctly.

Returns
Filename written.