javawrapper::TreePopulation Class Reference

This holds all data relating to the tree population. More...

Inheritance diagram for javawrapper::TreePopulation:

javawrapper::WorkerBase List of all members.

Public Member Functions

 TreePopulation (GUIManager oManager)
 Constructor.
int GetNumberOfSpecies ()
 Returns the number of species.
Vector GetTrees ()
 Gets the list of trees.
int GetSpeciesCodeFromName (String sName)
 When passed the name of a species, will give back the corresponding species number code.
void AddTabDelimTreeMapFile (javax.swing.JFrame oWindow, String sFileName) throws ModelException
 Adds the trees from a tab-delimited text tree map file.
int GetNumberOfSizeClasses ()
 Returns the number of size classes.
Float GetSizeClass (int iIndex)
 Returns the size class at a specific index.
void SetInitialSeedlingSize (float fVal) throws ModelException
 Sets the value of the diameter at 10 cm for new seedlings.
void SetSizeClasses (Float[] p_fVals) throws ModelException
 Sets the size classes.
void SetMinimumAdultDbh (Float[] p_fVals) throws ModelException
 Sets the minimum adult dbhs.
void SetSpeciesNames (String[] p_sVals) throws ModelException
 Sets the species name list.
void DoSetup (TreePopulation oPop)
 Performs setup.
void ChangeOfSpecies (int iOldNumSpecies, int[] p_iIndexer) throws ModelException
 Overridden from WorkerBase to take care of other arrays.
void SetInitialDensities (int iSizeClass, Float[] p_fVals) throws ModelException
 Sets the initial densities for a given species.
String GetSpeciesNameFromCode (int iSpecies)
 For a given species code, returns its name.
float GetNewSeedlingDiam10 ()
 Gets the new seedling diameter at 10 cm value, in cm.
void WriteXML (BufferedWriter out, TreePopulation oPop) throws ModelException
 Writes the settings to XML for the parameter file for the tree population.
void ValidateData (TreePopulation oPop) throws ModelException
 This makes sure all data is valid and can be used to run the model.
boolean SetVectorValueByXMLTag (String sXMLTag, String sXMLParentTag, Vector p_oData, String[] p_sChildXMLTags, boolean[] p_bAppliesTo, Attributes oParentAttributes, Attributes[] p_oAttributes) throws ModelException
 Override this function in order to be able to handle initial densities and species names.
int GetFloatDataCode (String sDataMember, int iSpecies, int iType)
 Gets the data code for accessing a float tree data member.
void ReadXMLParentTag (String sXMLTag, Attributes oAttributes) throws ModelException
 Accepts an XML parent tag (empty, no data) from the parser.
void ClearTrees ()
 Clears all trees.
boolean SetSingleValueByXMLTag (String sXMLTag, String sXMLParentTag, Attributes oAttributes, Object oData) throws ModelException
 This method is looking for tm_floatCode, tm_intCode, tm_charCode, tm_boolCode, fl, int, ch, and bl.
void ChangeSpeciesName (String sOldSpecies, String sNewSpecies) throws ModelException
 Changes the name of a species.

Static Public Member Functions

static int GetNumberOfTypes ()
 Get the total number of tree types (life history stages).
static String GetTypeNameFromCode (int iType)
 For a given type code, returns its name.
static int GetTypeCodeFromName (String sName)
 For a given type name, returns its code.

Static Public Attributes

static final int SEED = 0
static final int SEEDLING = 1
static final int SAPLING = 2
static final int ADULT = 3
static final int STUMP = 4
static final int SNAG = 5
static final int WOODY_DEBRIS = 6

Protected Member Functions

void UpdateBehaviorSpecies (int[] p_oTranslator) throws ModelException
 When a change of species has been made, this updates all behaviors to reflect the new species.
int GetCodeForDataMember (Vector p_oMemberList, String sDataMember)
 Gets the data member code for a data member label.

Protected Attributes

ModelVector mp_fSeedlingClass1Density
 Species-specific - initial densities for seedling height class 1.
ModelVector mp_fSeedlingClass2Density
 Species-specific - initial densities for seedling height class 2.
ModelVector mp_fSeedlingClass3Density
 Species-specific - initial densities for seedling height class 3.
Vector mp_oTrees = new Vector(0)
 Holds Tree objects to be written to a tree map.
Vector[][] mp_sTreeIntDataMembers
 Tree integer data members.
Vector[][] mp_sTreeFloatDataMembers
 Tree float data members.
Vector[][] mp_sTreeCharDataMembers
 Tree char data members.
Vector[][] mp_sTreeBoolDataMembers
 Tree bool data members.
Vector[][] mp_iTreeIntTransforms
 Index positions for tree integer data members.
Vector[][] mp_iTreeFloatTransforms
 Index positions for tree float data members.
Vector[][] mp_iTreeCharTransforms
 Index positions for tree char data members.
Vector[][] mp_iTreeBoolTransforms
 Index positions for tree bool data members.
ModelFloat m_fInitialSeedlingSize
 Initial seedling diam10.
ModelFloat m_fSeedlingHeightClass1
 Upper limit of seedling 1 initial densities height class, in cm.
ModelFloat m_fSeedlingHeightClass2
 Upper limit of seedling 2 initial densities height class, in cm.
int[] mp_iSpeciesTransforms
 When parsing tree maps, this will convert in case the species list is in a different order.
int m_iSpeciesCounter
 Counter for tree map species list when parsing tree map files.
int m_iCurrentTreeType
 When parsing tree map settings, the current tree type.
int m_iCurrentSpecies
 When parsing tree map settings, the current tree species.

Private Member Functions

void WriteTreeMap (BufferedWriter jOut) throws ModelException
 Writes an XML tree map if there are any trees to write.

Private Attributes

ModelVector mp_sSpeciesNames
 List of species names - ignore XML tags since this data can't use the automated XML read-write system.
ModelVector mp_fSizeClasses
 Size class list - the values in this are floats which represent the upper dbh limit of a class.
ModelVector mp_fInitialDensities
 Species-specific - contains the initial density for each class.
ModelVector mp_fMinAdultDbh
 Species-specific - the minimum adult dbh value.
ModelVector mp_fMaxSeedlingHeight
 Species-specific - the maximum seedling height value.

Detailed Description

This holds all data relating to the tree population.

It also manages the windows necessary to display and retrieve information about the trees.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.1

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
March 8, 2005: Added seedling height classes for initial densities and made version 1.1 (LEM)
March 28, 2005: Added new tab-delimited tree map format (LEM)
May 2, 2005: Added new seedling max height (LEM)


Constructor & Destructor Documentation

javawrapper::TreePopulation::TreePopulation GUIManager  oManager  )  [inline]
 

Constructor.

Parameters:
oManager GUIManager object

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Member Function Documentation

void javawrapper::TreePopulation::AddTabDelimTreeMapFile javax.swing.JFrame  oWindow,
String  sFileName
throws ModelException [inline]
 

Adds the trees from a tab-delimited text tree map file.

Parameters:
sFileName The file name of the tree map file.
oWindow Window to which to display messages
Exceptions:
ModelException if:
  • There is an unrecognized species
  • There is an unrecognized life history stage
  • There is a negative diameter
  • There is a negative height

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
March 28, 2005: Rewrote with new format (LEM)

void javawrapper::TreePopulation::ChangeOfSpecies int  iOldNumSpecies,
int[]  p_iIndexer
throws ModelException [inline]
 

Overridden from WorkerBase to take care of other arrays.

Parameters:
iOldNumSpecies says how many species there used to be.
p_iIndexer is an array, sized to the new number of species. For each bucket (representing the index number of a species on the new list), the value is either the index of that same species in the old species list, or -1 if the species is new.
Exceptions:
ModelException if anything goes wrong.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Reimplemented from javawrapper::WorkerBase.

void javawrapper::TreePopulation::ChangeSpeciesName String  sOldSpecies,
String  sNewSpecies
throws ModelException [inline]
 

Changes the name of a species.

Everything about the species remains the same except for the name. This is an easier process than actually changing the species list.

Parameters:
sOldSpecies String Old name of the species
sNewSpecies String New name of the species
Exceptions:
ModelException if there is a problem.

Edit history:
------------------
November 2, 2005: Created (LEM)

void javawrapper::TreePopulation::DoSetup TreePopulation  oPop  )  [inline, virtual]
 

Performs setup.

Causes the max seedling height to default to 1.35 for all species.

Parameters:
oPop TreePopulation This.

Implements javawrapper::WorkerBase.

int javawrapper::TreePopulation::GetCodeForDataMember Vector  p_oMemberList,
String  sDataMember
[inline, protected]
 

Gets the data member code for a data member label.

If this is not a currently listed data member, it will be added.

Parameters:
p_oMemberList List of data members.
sDataMember Data member name.
Returns:
Data member code.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

int javawrapper::TreePopulation::GetFloatDataCode String  sDataMember,
int  iSpecies,
int  iType
[inline]
 

Gets the data code for accessing a float tree data member.

You can use the return code to get the data from a Tree class object.

Parameters:
sDataMember Name of data member.
iSpecies Tree species.
iType Tree type.
Returns:
Data code, or -1 if the data member name is unrecognized.

float javawrapper::TreePopulation::GetNewSeedlingDiam10  )  [inline]
 

Gets the new seedling diameter at 10 cm value, in cm.

Returns:
The new seedling diameter at 10 cm value, in cm.

int javawrapper::TreePopulation::GetNumberOfSizeClasses  )  [inline]
 

Returns the number of size classes.

Returns:
Number of size classes

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

int javawrapper::TreePopulation::GetNumberOfSpecies  )  [inline]
 

Returns the number of species.

Returns:
Number of species

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

static int javawrapper::TreePopulation::GetNumberOfTypes  )  [inline, static]
 

Get the total number of tree types (life history stages).

Returns:
Total number of tree types

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Float javawrapper::TreePopulation::GetSizeClass int  iIndex  )  [inline]
 

Returns the size class at a specific index.

Parameters:
iIndex Index of size class to return.
Returns:
Upper limit of size class.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

int javawrapper::TreePopulation::GetSpeciesCodeFromName String  sName  )  [inline]
 

When passed the name of a species, will give back the corresponding species number code.

If there are spaces in the name, they should be replaced with underscores BEFORE being passed.

Parameters:
sName The name of the species.
Returns:
The code, or -1 if the name is not recognized.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

String javawrapper::TreePopulation::GetSpeciesNameFromCode int  iSpecies  )  [inline]
 

For a given species code, returns its name.

If this name is for display, a replace should be done on underscores to spaces.

Parameters:
iSpecies The species code.
Returns:
The species name.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Vector javawrapper::TreePopulation::GetTrees  )  [inline]
 

Gets the list of trees.

Returns:
A vector of Tree objects.

static int javawrapper::TreePopulation::GetTypeCodeFromName String  sName  )  [inline, static]
 

For a given type name, returns its code.

Parameters:
sName The type name.
Returns:
The type code, or -1 if the name is invalid.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

static String javawrapper::TreePopulation::GetTypeNameFromCode int  iType  )  [inline, static]
 

For a given type code, returns its name.

Parameters:
iType The type code.
Returns:
The type name, or an empty string if the code isn't recognized.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void javawrapper::TreePopulation::ReadXMLParentTag String  sXMLTag,
Attributes  oAttributes
throws ModelException [inline]
 

Accepts an XML parent tag (empty, no data) from the parser.

This method watches for the following tags:

  • tm_treeSettings
  • tree
  • tm_speciesList
  • tm_species
  • grid
Parameters:
sXMLTag The XML tag.
oAttributes The attributes of this object.
Exceptions:
ModelException if there is a problem reading this data.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Reimplemented from javawrapper::WorkerBase.

void javawrapper::TreePopulation::SetInitialDensities int  iSizeClass,
Float[]  p_fVals
throws ModelException [inline]
 

Sets the initial densities for a given species.

Any species number greater than zero is assumed to be valid.

Parameters:
iSizeClass size class number
p_fVals set of initial densities for each species
Exceptions:
ModelException if the size class number is less than 0 or greater than the number of size classes defined.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void javawrapper::TreePopulation::SetInitialSeedlingSize float  fVal  )  throws ModelException [inline]
 

Sets the value of the diameter at 10 cm for new seedlings.

Parameters:
fVal Diameter at 10 cm, in cm.
Exceptions:
ModelException if value passed is less than or equal to 0.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void javawrapper::TreePopulation::SetMinimumAdultDbh Float[]  p_fVals  )  throws ModelException [inline]
 

Sets the minimum adult dbhs.

There must be one for each species.

Parameters:
p_fVals A Float array of values.
Exceptions:
ModelException if any value is less than 0.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

boolean javawrapper::TreePopulation::SetSingleValueByXMLTag String  sXMLTag,
String  sXMLParentTag,
Attributes  oAttributes,
Object  oData
throws ModelException [inline]
 

This method is looking for tm_floatCode, tm_intCode, tm_charCode, tm_boolCode, fl, int, ch, and bl.

For the last four, they are only set if m_iCurrentSpecies and m_iCurrentTreeType are greater than -1. Thus grid values with these tags will be ignored.

Parameters:
sXMLTag XML tag of data object whose value is to be set.
sXMLParentTag The immediate parent tag that sXMLTag is within.
oAttributes Attributes of the object. Ignored, but may be needed by overriding objects.
oData Data value appropriate to the data type
Returns:
true if the value was set successfully; false if the value could not be found. (This would not be an error, because I need a way to cycle through the objects until one of the objects comes up with a match.)
Exceptions:
ModelException if the value could not be assigned to the data object.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
July 26, 2004: Added validation of X and Y coordinates (LEM)

Reimplemented from javawrapper::WorkerBase.

void javawrapper::TreePopulation::SetSizeClasses Float[]  p_fVals  )  throws ModelException [inline]
 

Sets the size classes.

The size class vector will be sized to match the array of Floats passed. The values in the array represent the upper dbh limits of each size class. A value of 0 is assumed to be for seedlings.

Parameters:
p_fVals A Float array of size class values.
Exceptions:
ModelException if any size class value is less than 0.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void javawrapper::TreePopulation::SetSpeciesNames String[]  p_sVals  )  throws ModelException [inline]
 

Sets the species name list.

The species vector will be sized to match the array of Strings passed. All spaces in the species names are replaced with underscores.

If there are species currently defined, this calls ChangeOfSpecies() for all objects.

This calls the GUIManager::DoSetup() method so that behavior groups can adjust for the new species list if species were already defined. This function also declares certain arrays, since this is the first opportunity to know how many species there are.

Parameters:
p_sVals A String array of species names.
Exceptions:
ModelException if there is a problem setting the species names.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
July 22, 2004: Bug fix

boolean javawrapper::TreePopulation::SetVectorValueByXMLTag String  sXMLTag,
String  sXMLParentTag,
Vector  p_oData,
String[]  p_sChildXMLTags,
boolean[]  p_bAppliesTo,
Attributes  oParentAttributes,
Attributes[]  p_oAttributes
throws ModelException [inline]
 

Override this function in order to be able to handle initial densities and species names.

Parameters:
sXMLTag Parent XML tag of data vector whose value is to be set.
sXMLParentTag The immediate parent tag that sXMLTag is within.
p_oData Vector of data values appropriate to the data type
p_sChildXMLTags The XML tags of the child elements
p_bAppliesTo Array of booleans saying which of the vector values should be set. This is important in the case of species-specifics - the vector index is the species number but not all species are set.
oParentAttributes Attributes of parent tag. May be useful when overridding this for unusual tags.
p_oAttributes Attributes passed from parser. This may be needed when overriding this function. Basic species-specific values are already handled by this function.
Returns:
true if the value was set successfully; false if the value could not be found. (This would not be an error, because I need a way to cycle through the objects until one of the objects comes up with a match.) If a match to a data object is made via XML tag, but the found object is not a ModelVector, this returns false.
Exceptions:
ModelException if the value could not be assigned to the data object.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Reimplemented from javawrapper::WorkerBase.

void javawrapper::TreePopulation::UpdateBehaviorSpecies int[]  p_oTranslator  )  throws ModelException [inline, protected]
 

When a change of species has been made, this updates all behaviors to reflect the new species.

If a species has been eliminated, all species/type combos relating to it are removed. If a species still exists, this will update it to make sure the correct species number is reflected.

Parameters:
p_oTranslator Sized number of old species. For each old species, either has the updated species number or -1 if the old species has been eliminated.
Exceptions:
ModelException passed through from underlying exceptions.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void javawrapper::TreePopulation::ValidateData TreePopulation  oPop  )  throws ModelException [inline, virtual]
 

This makes sure all data is valid and can be used to run the model.

Exceptions:
ModelException in any of the following cases:
  • Any of the species-specific vectors is not sized equal to the number of species.
  • There are no species defined.
  • The initial seedling size is not greater than zero.
  • There is any value less than or equal to zero in any of the following vectors:
    • mp_fCanradToDbhRatio
    • mp_fDiam10ToDbhConversion
    • mp_fSlopeOfAsympCanDepth
    • mp_fInitialDensities
    • mp_fMaxCanopyHeight
    • mp_fMinAdultDbh
    • mp_fSizeClasses
    • mp_fSlopeOfAsymptoticHeight
  • Either of the seedling initial densities height classes is less than 0 or greater than 135.
  • The first seedling height class upper bound is greater than the second one.
  • Any of the seedling initial densities is less than 0.
Parameters:
oPop Not used.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
March 8, 2005: Added validation of seedling height class initial densities

Implements javawrapper::WorkerBase.

void javawrapper::TreePopulation::WriteTreeMap BufferedWriter  jOut  )  throws ModelException [inline, private]
 

Writes an XML tree map if there are any trees to write.

Parameters:
jOut The XML file to write to.
Exceptions:
ModelException If anything goes wrong. This could wrap another exception.
Todo:
subplot support

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

void javawrapper::TreePopulation::WriteXML BufferedWriter  out,
TreePopulation  oPop
throws ModelException [inline]
 

Writes the settings to XML for the parameter file for the tree population.

Parameters:
out Out stream for the file.
oPop TreePopulation object.
Exceptions:
ModelException If something goes wrong with the writing.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Reimplemented from javawrapper::WorkerBase.


Member Data Documentation

ModelFloat javawrapper::TreePopulation::m_fInitialSeedlingSize [protected]
 

Initial value:

 new ModelFloat(
      "New Seedling Diameter at 10 cm",
      "tr_seedDiam10Cm")
Initial seedling diam10.

ModelFloat javawrapper::TreePopulation::m_fSeedlingHeightClass1 [protected]
 

Initial value:

 new ModelFloat(0,
      "Seedling Height Class 1 Upper Bound, in cm",
      "tr_seedlingHeightClass1")
Upper limit of seedling 1 initial densities height class, in cm.

ModelFloat javawrapper::TreePopulation::m_fSeedlingHeightClass2 [protected]
 

Initial value:

 new ModelFloat(0,
      "Seedling Height Class 2 Upper Bound, in cm",
      "tr_seedlingHeightClass2")
Upper limit of seedling 2 initial densities height class, in cm.

ModelVector javawrapper::TreePopulation::mp_fInitialDensities [private]
 

Initial value:

 new ModelVector(
      "Initial Densities", "", "", 0, ModelVector.FLOAT)
Species-specific - contains the initial density for each class.

Each vector bucket contains another vector with the values for each species for that size class. Ignore XML tags since this data can't use the automated XML read-write system.

ModelVector javawrapper::TreePopulation::mp_fMaxSeedlingHeight [private]
 

Initial value:

 new ModelVector(
      "Max Seedling Height (meters)",
      "tr_maxSeedlingHeight", "tr_mshVal", 0, ModelVector.FLOAT, true)
Species-specific - the maximum seedling height value.

ModelVector javawrapper::TreePopulation::mp_fMinAdultDbh [private]
 

Initial value:

 new ModelVector("Minimum Adult DBH",
      "tr_minAdultDBH",
      "tr_madVal", 0, ModelVector.FLOAT, true)
Species-specific - the minimum adult dbh value.

ModelVector javawrapper::TreePopulation::mp_fSeedlingClass1Density [protected]
 

Initial value:

 new ModelVector(
      "Initial Density (#/ha) - Seedling Height Class 1",
      "tr_seedlingHeight1Density", "tr_sh1dVal", 0,
      ModelVector.FLOAT, true)
Species-specific - initial densities for seedling height class 1.

ModelVector javawrapper::TreePopulation::mp_fSeedlingClass2Density [protected]
 

Initial value:

 new ModelVector(
      "Initial Density (#/ha) - Seedling Height Class 2",
      "tr_seedlingHeight2Density", "tr_sh2dVal", 0,
      ModelVector.FLOAT, true)
Species-specific - initial densities for seedling height class 2.

ModelVector javawrapper::TreePopulation::mp_fSeedlingClass3Density [protected]
 

Initial value:

 new ModelVector(
      "Initial Density (#/ha) - Seedling Height Class 3",
      "tr_seedlingHeight3Density", "tr_sh3dVal", 0,
      ModelVector.FLOAT, true)
Species-specific - initial densities for seedling height class 3.

ModelVector javawrapper::TreePopulation::mp_fSizeClasses [private]
 

Initial value:

 new ModelVector("Size classes", "", "",
      0, ModelVector.FLOAT)
Size class list - the values in this are floats which represent the upper dbh limit of a class.

The lower limit of a class is the upper limit of the size class below it. A size class with an upper limit of 0 is for seedlings. Ignore XML tags since this data can't use the automated XML read-write system.

int [] javawrapper::TreePopulation::mp_iSpeciesTransforms [protected]
 

When parsing tree maps, this will convert in case the species list is in a different order.

The array index is the code to convert; the value in the array at that point is the corresponding old species number.

Vector [][] javawrapper::TreePopulation::mp_iTreeBoolTransforms [protected]
 

Index positions for tree bool data members.

The current tree map being read may have different data member indexes, and this will help translate to mp_sTreeBoolDataMembers. First index is species, second is type. Vector position equals the data member position in the map being read, and vector value is the position in mp_sTreeBoolDataMembers of the data member (and thus the tree index).

Vector [][] javawrapper::TreePopulation::mp_iTreeCharTransforms [protected]
 

Index positions for tree char data members.

The current tree map being read may have different data member indexes, and this will help translate to mp_sTreeCharDataMembers. First index is species, second is type. Vector position equals the data member position in the map being read, and vector value is the position in mp_sTreeCharDataMembers of the data member (and thus the tree index).

Vector [][] javawrapper::TreePopulation::mp_iTreeFloatTransforms [protected]
 

Index positions for tree float data members.

The current tree map being read may have different data member indexes, and this will help translate to mp_sTreeFloatDataMembers. First index is species, second is type. Vector position equals the data member position in the map being read, and vector value is the position in mp_sTreeFloatDataMembers of the data member (and thus the tree index).

Vector [][] javawrapper::TreePopulation::mp_iTreeIntTransforms [protected]
 

Index positions for tree integer data members.

The current tree map being read may have different data member indexes, and this will help translate to mp_sTreeIntDataMembers. First index is species, second is type. Vector position equals the data member position in the map being read, and vector value is the position in mp_sTreeIntDataMembers of the data member (and thus the tree index).

ModelVector javawrapper::TreePopulation::mp_sSpeciesNames [private]
 

Initial value:

 new ModelVector("Species names", "", "", 0,
                                         ModelVector.STRING)
List of species names - ignore XML tags since this data can't use the automated XML read-write system.

Vector [][] javawrapper::TreePopulation::mp_sTreeBoolDataMembers [protected]
 

Tree bool data members.

First array index is species, second is type. The vector is a set of strings with the data member names. The position of the String in the vector corresponds to the data member code in the tree map.

Vector [][] javawrapper::TreePopulation::mp_sTreeCharDataMembers [protected]
 

Tree char data members.

First array index is species, second is type. The vector is a set of strings with the data member names. The position of the String in the vector corresponds to the data member code in the tree map.

Vector [][] javawrapper::TreePopulation::mp_sTreeFloatDataMembers [protected]
 

Tree float data members.

First array index is species, second is type. The vector is a set of strings with the data member names. The position of the String in the vector corresponds to the data member code in the tree map.

Vector [][] javawrapper::TreePopulation::mp_sTreeIntDataMembers [protected]
 

Tree integer data members.

First array index is species, second is type. The vector is a set of strings with the data member names. The position of the String in the vector corresponds to the data member code in the tree map.


The documentation for this class was generated from the following file:
Generated on Mon Mar 27 15:15:48 2006 for SORTIE Java Interface by  doxygen 1.4.6-NO