Public Member Functions | |
Tree (int iType, int iSpecies, int iNumFloats, int iNumInts, int iNumChars, int iNumBools, TreePopulation oPop) throws ModelException | |
Constructor. | |
void | WriteXML (BufferedWriter jOut) throws java.io.IOException |
Writes this tree's data to XML. | |
Protected Attributes | |
int | m_iSpecies |
Tree's species. | |
int | m_iType |
Tree's type. |
Individuals can thus be stored and turned into a tree map for the model.
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
javawrapper.Tree.Tree | ( | int | iType, | |
int | iSpecies, | |||
int | iNumFloats, | |||
int | iNumInts, | |||
int | iNumChars, | |||
int | iNumBools, | |||
TreePopulation | oPop | |||
) | throws ModelException |
Constructor.
Creates the arrays.
iType | Tree's type | |
iSpecies | Tree's species | |
iNumFloats | Number of float data members | |
iNumInts | Number of integer data members | |
iNumChars | Number of char (String) data members | |
iNumBools | Number of bool data members | |
oPop | TreePopulation object |
ModelException | if the species or type numbers are invalid |
void javawrapper.Tree.WriteXML | ( | BufferedWriter | jOut | ) | throws java.io.IOException |
Writes this tree's data to XML.
jOut | File to write to. |
java.io.IOException | if there is a problem writing to file. |
int javawrapper.Tree.m_iSpecies [protected] |
Tree's species.
int javawrapper.Tree.m_iType [protected] |
Tree's type.