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

Functions

const char * WriteStormXMLFile1 ()
 Writes a parameter file with the specifications given for TestNormalDeterministic().
 
const char * WriteStormXMLFile2 ()
 Writes a parameter file with the specifications given for TestNormalMappedDeterministic().
 
const char * WriteStormXMLFile3 ()
 Writes a parameter file with the specifications given for TestNormalStochastic().
 
const char * WriteStormXMLFile4 ()
 Writes a parameter file with the specifications given for TestNormalMappedStochastic().
 
const char * WriteStormXMLFile5 ()
 Writes a parameter file with the specifications given for TestMultiYearTimesteps().
 
const char * WriteStormXMLErrorFile1 ()
 Writes a parameter file where there are grid maps for both "Storm Damage" and "Storm Susceptibility" and the grid cell resolutions don't match.
 
const char * WriteStormXMLErrorFile2 ()
 Writes a parameter file where the damage pattern is set to "mapped" but there is no "Storm Susceptibility" grid map in the parameter file.
 
const char * WriteStormXMLErrorFile3 ()
 Writes a parameter file where not all storm interval return values are greater than 0.
 
const char * WriteStormXMLErrorFile4 ()
 Writes a parameter file where the value for susceptibility pattern in the parameter file is not recognized.
 
const char * WriteStormXMLErrorFile5 ()
 Writes a parameter file where the damage pattern is "stochastic" and there is no value for probability distribution function.
 
const char * WriteStormXMLErrorFile6 ()
 Writes a parameter file where the damage pattern is "stochastic" and the value for probability distribution function is not recognized.
 
const char * WriteStormXMLErrorFile7 ()
 Writes a parameter file where the damage pattern is "stochastic", the probability distribution function is "normal" or "lognormal", and there is no value for standard deviation.
 
const char * WriteStormXMLErrorFile8 ()
 Writes a parameter file where the value for stochasticity is not recognized.
 
const char * WriteStormXMLErrorFile9 ()
 Writes a parameter file where a scheduled storm's minimum is greater than its maximum.
 
const char * WriteStormXMLErrorFile10 ()
 Writes a parameter file where a scheduled storm's minimum is not between 0 and 1.
 
const char * WriteStormXMLErrorFile11 ()
 Writes a parameter file where a scheduled storm's maximum is not between 0 and 1.
 
void WriteStormCommonStuff (std::fstream &oOut)
 Writes the portion of the parameter file common to all test files.
 

Function Documentation

void WriteStormCommonStuff ( std::fstream &  oOut)

Writes the portion of the parameter file common to all test files.

Parameters
oOutFile stream to write to.
const char* WriteStormXMLErrorFile1 ( )

Writes a parameter file where there are grid maps for both "Storm Damage" and "Storm Susceptibility" and the grid cell resolutions don't match.

Returns
Filename written.
const char* WriteStormXMLErrorFile10 ( )

Writes a parameter file where a scheduled storm's minimum is not between 0 and 1.

Returns
Filename written.
const char* WriteStormXMLErrorFile11 ( )

Writes a parameter file where a scheduled storm's maximum is not between 0 and 1.

Returns
Filename written.
const char* WriteStormXMLErrorFile2 ( )

Writes a parameter file where the damage pattern is set to "mapped" but there is no "Storm Susceptibility" grid map in the parameter file.

Returns
Filename written.
const char* WriteStormXMLErrorFile3 ( )

Writes a parameter file where not all storm interval return values are greater than 0.

Returns
Filename written.
const char* WriteStormXMLErrorFile4 ( )

Writes a parameter file where the value for susceptibility pattern in the parameter file is not recognized.

Returns
Filename written.
const char* WriteStormXMLErrorFile5 ( )

Writes a parameter file where the damage pattern is "stochastic" and there is no value for probability distribution function.

Returns
Filename written.
const char* WriteStormXMLErrorFile6 ( )

Writes a parameter file where the damage pattern is "stochastic" and the value for probability distribution function is not recognized.

Returns
Filename written.
const char* WriteStormXMLErrorFile7 ( )

Writes a parameter file where the damage pattern is "stochastic", the probability distribution function is "normal" or "lognormal", and there is no value for standard deviation.

Returns
Filename written.
const char* WriteStormXMLErrorFile8 ( )

Writes a parameter file where the value for stochasticity is not recognized.

Returns
Filename written.
const char* WriteStormXMLErrorFile9 ( )

Writes a parameter file where a scheduled storm's minimum is greater than its maximum.

Returns
Filename written.
const char* WriteStormXMLFile1 ( )

Writes a parameter file with the specifications given for TestNormalDeterministic().

Returns
Filename written.
const char* WriteStormXMLFile2 ( )

Writes a parameter file with the specifications given for TestNormalMappedDeterministic().

Returns
Filename written.
const char* WriteStormXMLFile3 ( )

Writes a parameter file with the specifications given for TestNormalStochastic().

Returns
Filename written.
const char* WriteStormXMLFile4 ( )

Writes a parameter file with the specifications given for TestNormalMappedStochastic().

Returns
Filename written.
const char* WriteStormXMLFile5 ( )

Writes a parameter file with the specifications given for TestMultiYearTimesteps().

Returns
Filename written.