Inheritance diagram for datavisualizer::DetailedOutputFileManager:

Public Member Functions | |
| void | SetParFileTimesteps (int i) |
| Sets the number of timesteps for the detailed output file parameter file. | |
| int | GetNumberOfActualTimesteps () |
| Gets the number of actual data timesteps contained in this detailed output file (as opposed to how many the par file says there are). | |
| JInternalFrame | DrawChart (String sGraphName) throws ModelException |
| Handles the request to draw a chart for this file. | |
| void | UpdateCurrentRunCharts () throws ModelException |
| Updates charts for a current run. | |
| String[] | GetTableOptions () |
| Gets the tables that can be drawn for this file. | |
| String[] | GetHistogramOptions () |
| Gets the historgrams that can be drawn for this file. | |
| String[] | GetMapOptions () |
| Gets the maps that can be drawn for this file. | |
| String[] | GetLineGraphOptions () |
| Gets the line graphs that can be drawn for this file. | |
| void | SetXPlotLength (float f) |
| Sets the plot X length. | |
| void | SetYPlotLength (float f) |
| Sets the plot Y length. | |
| void | SetNumberOfYearsPerTimestep (float f) |
| Sets the number of years per timestep. | |
| float | GetNumberOfYearsPerTimestep () |
| Gets the number of years per timestep. | |
| float | GetXPlotLength () |
| Gets the plot X length. | |
| float | GetYPlotLength () |
| Gets the plot Y length. | |
| DetailedOutputFileManager (String sTarball) throws ModelException | |
| Constructor. | |
| void | UpdateCharts () throws ModelException |
| Redraws all the charts currently open for this detailed output file. | |
| void | AddSpeciesName (String sName) |
| Adds a species name to the end of the species name list. | |
| javawrapper.DetailedTreeSettings | CreateNewTreeSettings (String sSpeciesName, int iType) throws ModelException |
| Creates a new javawrapper.DetailedTreeSettings object and adds it to the tree settings vector. | |
| javawrapper.DetailedGridSettings | CreateNewGridSettings (String sGridName) |
| Creates a new javawrapper.DetailedGridSettings object and adds it to the grid settings vector. | |
| void | AddGridXCellLength (String sGridName, float fLength) |
| Adds the X cell length to grid settings. | |
| void | AddGridYCellLength (String sGridName, float fLength) |
| Adds the Y cell length to grid settings. | |
| int | GetNumberOfSpecies () |
| Gets the number of species that exist in the detailed output header file. | |
| int | GetNumberOfTypes () |
| Gets the number of tree types. | |
| int | GetSpeciesCodeFromName (String sName) throws ModelException |
| When passed the name of a species, will give back the corresponding species number code. | |
| String | GetSpeciesNameFromCode (int iIndex) throws ModelException |
| When passed the index of a species, will give back the corresponding species name. | |
| void | ReadFile (int iTimestep) throws ModelException |
| Read the detailed output file for a particular timestep. | |
| boolean | WantAnyTreeFloats () |
| Whether or not any open data requests want any tree float data members. | |
| boolean | WantAnyGridFloats () |
| Whether or not any open data requests want any grid float data members. | |
| boolean | WantAnyGridPackageFloats () |
| Whether or not any open data requests want any grid package float data members. | |
| boolean | WantAnyTreeInts () |
| Whether or not any open data requests want any tree int data members. | |
| boolean | WantAnyGridInts () |
| Whether or not any open data requests want any grid int data members. | |
| boolean | WantAnyGridPackageInts () |
| Whether or not any open data requests want any grid package int data members. | |
| boolean | WantAnyTreeChars () |
| Whether or not any open data requests want any tree char data members. | |
| boolean | WantAnyGridChars () |
| Whether or not any open data requests want any grid char data members. | |
| boolean | WantAnyGridPackageChars () |
| Whether or not any open data requests want any grid package char data members. | |
| boolean | WantAnyTreeBools () |
| Whether or not any open data requests want any tree bool data members. | |
| boolean | WantAnyGridBools () |
| Whether or not any open data requests want any grid bool data members. | |
| boolean | WantAnyGridPackageBools () |
| Whether or not any open data requests want any grid package bool data members. | |
| void | AddTreeFloatData (int iSpecies, int iType, int iCode, float fVal) |
| Accepts a piece of tree float data from the parser and passes it on to open data requests. | |
| void | AddGridFloatData (String sGridName, int iX, int iY, int iCode, float fVal) |
| Accepts a piece of grid float data from the parser and passes it on to open data requests. | |
| void | AddGridPackageFloatData (String sGridName, int iX, int iY, int iCode, float fVal) |
| Accepts a piece of grid package float data from the parser and passes it on to open data requests. | |
| void | AddTreeIntData (int iSpecies, int iType, int iCode, int iVal) |
| Accepts a piece of tree int data from the parser and passes it on to open data requests. | |
| void | AddGridIntData (String sGridName, int iX, int iY, int iCode, int iVal) |
| Accepts a piece of grid int data from the parser and passes it on to open data requests. | |
| void | AddGridPackageIntData (String sGridName, int iX, int iY, int iCode, int iVal) |
| Accepts a piece of grid package int data from the parser and passes it on to open data requests. | |
| void | AddTreeCharData (int iSpecies, int iType, int iCode, String sVal) |
| Accepts a piece of tree char data from the parser and passes it on to open data requests. | |
| void | AddGridCharData (String sGridName, int iX, int iY, int iCode, String sVal) |
| Accepts a piece of grid char data from the parser and passes it on to open data requests. | |
| void | AddGridPackageCharData (String sGridName, int iX, int iY, int iCode, String sVal) |
| Accepts a piece of grid package char data from the parser and passes it on to open data requests. | |
| void | AddTreeBoolData (int iSpecies, int iType, int iCode, boolean bVal) |
| Accepts a piece of tree bool data from the parser to pass on to open data requests. | |
| void | AddGridBoolData (String sGridName, int iX, int iY, int iCode, boolean bVal) |
| Accepts a piece of grid bool data from the parser to pass on to open data requests. | |
| void | AddGridPackageBoolData (String sGridName, int iX, int iY, int iCode, boolean bVal) |
| Accepts a piece of grid package bool data from the parser to pass on to open data requests. | |
| void | AddTreeFloatDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) |
| Accepts a tree float data member code from the parser to pass on to open data requests. | |
| void | AddGridFloatDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid float data member code from the parser to pass on to open data requests. | |
| void | AddGridPackageFloatDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid package float data member code from the parser to pass on to open data requests. | |
| void | AddTreeIntDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) |
| Accepts an int data member code from the parser to pass on to open data requests. | |
| void | AddGridIntDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts an int data member code from the parser to pass on to open data requests. | |
| void | AddGridPackageIntDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid package int data member code from the parser to pass on to open data requests. | |
| void | AddTreeCharDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) |
| Accepts a tree char data member code from the parser to pass on to open data requests. | |
| void | AddGridCharDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid char data member code from the parser to pass on to open data requests. | |
| void | AddGridPackageCharDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid package char data member code from the parser to pass on to open data requests. | |
| void | AddTreeBoolDataMemberCode (int iSpecies, int iType, String sLabel, int iCode) |
| Accepts a tree bool data member code from the parser to pass on to open data requests. | |
| void | AddGridBoolDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid bool data member code from the parser to pass on to open data requests. | |
| void | AddGridPackageBoolDataMemberCode (String sGridName, String sLabel, int iCode) |
| Accepts a grid package bool data member code from the parser to pass on to open data requests. | |
| void | EndPackage () |
| Notifies all open data requests that a new package has ended. | |
| float | GetGridXCellLength (String sGridName) |
| Gets the length of X cells for a grid. | |
| float | GetGridYCellLength (String sGridName) |
| Gets the length of Y cells for a grid. | |
| void | CleanUp () |
| Deletes all files from the tarball in the temp folder. | |
Private Member Functions | |
| void | CountTimesteps () throws ModelException |
| Counts the number of timesteps in the tarball and places it in m_iNumTimesteps. | |
| void | ParseParamFile () throws ModelException |
| Parses the parameter file portion of the tarball. | |
Private Attributes | |
| Vector | mp_oDataRequests |
| The collection of all data requests currently open. | |
| Vector | mp_sSpeciesNames |
| Species names - the order determines the species codes. | |
| Vector | mp_oTreeSettings |
| Collection of javawrapper.DetailedTreeSettings objects. | |
| Vector | mp_oGridSettings |
| Collection of javawrapper.DetailedGridSettings objects. | |
| boolean[] | mp_bHistogramIsFloat |
| Whether each histogram option is float (true) or int (false). | |
| String[] | mp_sHistogramNames |
| Histogram names - so we can figure out which value in mp_bHistogramIsFloat value to use. | |
| String | m_sFileDisplayName |
| Display string of filename - should have the last 20 chars. | |
| XMLReader | m_oParser |
| File parser. | |
| String | m_sTempRoot |
| Root directory to put temp files. | |
| String | m_sTempDir |
| Where we actually extract to. | |
| String | m_sFileRoot |
| Root file name of all detailed output files. | |
| float | m_fXPlotLength |
| Plot X length. | |
| float | m_fYPlotLength |
| Plot Y length. | |
| float | m_fNumYearsPerTimestep |
| Number of years per timestep. | |
| int | m_iNumTimesteps |
| Number of actual timesteps of data. | |
| int | m_iNumParFileTimesteps |
| Number of timestes from the par file. | |
| int | m_iNumTypes = 7 |
| Number of tree types. | |
| int | m_iLastTimestepRead |
| When updating charts, this is the file parsed. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
|
|
Constructor.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||||||
|
Accepts a piece of grid bool data from the parser to pass on to open data requests.
|
|
||||||||||||||||
|
Accepts a grid bool data member code from the parser to pass on to open data requests.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid char data from the parser and passes it on to open data requests.
|
|
||||||||||||||||
|
Accepts a grid char data member code from the parser to pass on to open data requests.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid float data from the parser and passes it on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||
|
Accepts a grid float data member code from the parser to pass on to open data requests.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid int data from the parser and passes it on to open data requests.
|
|
||||||||||||||||
|
Accepts an int data member code from the parser to pass on to open data requests.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid package bool data from the parser to pass on to open data requests.
|
|
||||||||||||||||
|
Accepts a grid package bool data member code from the parser to pass on to open data requests.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid package char data from the parser and passes it on to open data requests.
|
|
||||||||||||||||
|
Accepts a grid package char data member code from the parser to pass on to open data requests.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid package float data from the parser and passes it on to open data requests.
|
|
||||||||||||||||
|
Accepts a grid package float data member code from the parser to pass on to open data requests.
|
|
||||||||||||||||||||||||
|
Accepts a piece of grid package int data from the parser and passes it on to open data requests.
|
|
||||||||||||||||
|
Accepts a grid package int data member code from the parser to pass on to open data requests.
|
|
||||||||||||
|
Adds the X cell length to grid settings.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||
|
Adds the Y cell length to grid settings.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Adds a species name to the end of the species name list. The position within the vector becomes that name's species index code.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a piece of tree bool data from the parser to pass on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a tree bool data member code from the parser to pass on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a piece of tree char data from the parser and passes it on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a tree char data member code from the parser to pass on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a piece of tree float data from the parser and passes it on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a tree float data member code from the parser to pass on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts a piece of tree int data from the parser and passes it on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||||||||||
|
Accepts an int data member code from the parser to pass on to open data requests.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Deletes all files from the tarball in the temp folder.
Reimplemented from datavisualizer::DataFileManager. |
|
|
Counts the number of timesteps in the tarball and places it in m_iNumTimesteps. The value is found by counting the number of files. The number of timesteps is the number of files - 2 (for the parameter file and initial conditions). This is compared to the number of timesteps found in the header file and the lesser one is chosen.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Creates a new javawrapper.DetailedGridSettings object and adds it to the grid settings vector.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
||||||||||||
|
Creates a new javawrapper.DetailedTreeSettings object and adds it to the tree settings vector.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Handles the request to draw a chart for this file. The request will be passed on to an appropriate DataRequest object. If the chart is already open, the open chart will be returned.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) June 29, 2004: Added disturbance results grid (LEM) March 29, 2005: Added grid histograms (LEM) Implements datavisualizer::DataFileManager. |
|
|
Gets the length of X cells for a grid.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Gets the length of Y cells for a grid.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Gets the historgrams that can be drawn for this file.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) March 29, 2005: Added grid histograms (LEM) Implements datavisualizer::DataFileManager. |
|
|
Gets the line graphs that can be drawn for this file.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) November 15, 2004: Added line graph choices (LEM) March 9, 2005: Added volume line graphs (LEM) Implements datavisualizer::DataFileManager. |
|
|
Gets the maps that can be drawn for this file.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implements datavisualizer::DataFileManager. |
|
|
Gets the number of actual data timesteps contained in this detailed output file (as opposed to how many the par file says there are).
|
|
|
Gets the number of species that exist in the detailed output header file.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Gets the number of tree types.
|
|
|
Gets the number of years per timestep.
Edit history: ------------------ November 2, 2004: Created (LEM) |
|
|
When passed the name of a species, will give back the corresponding species number code.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
When passed the index of a species, will give back the corresponding species name.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Gets the tables that can be drawn for this file.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) June 29, 2004: Added disturbance table support (LEM) October 29, 2004: Added stand and stock tables (LEM) Implements datavisualizer::DataFileManager. |
|
|
Gets the plot X length.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Gets the plot Y length.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Parses the parameter file portion of the tarball. This function parses the detailed output header file to find species information and tree setup information.
|
|
|
Read the detailed output file for a particular timestep.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Sets the number of years per timestep.
Edit history: ------------------ November 2, 2004: Created (LEM) |
|
|
Sets the number of timesteps for the detailed output file parameter file.
|
|
|
Sets the plot X length.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Sets the plot Y length.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Redraws all the charts currently open for this detailed output file. This is accomplished by sending an UpdateChart() call to each data request object.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) Implements datavisualizer::DataFileManager. |
|
|
Updates charts for a current run. This re-inflates the tarball and gets the last timestep file for parsing and processing.
Edit history: ------------------ November 18, 2004: Created (LEM) Implements datavisualizer::DataFileManager. |
|
|
Whether or not any open data requests want any grid bool data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not any open data requests want any grid char data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not any open data requests want any grid float data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not any open data requests want any grid int data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not any open data requests want any grid package bool data members.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
|
Whether or not any open data requests want any grid package char data members.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
|
Whether or not any open data requests want any grid package float data members.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
|
Whether or not any open data requests want any grid package int data members.
Edit history: ------------------ March 20, 2006: Created (LEM) |
|
|
Whether or not any open data requests want any tree bool data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not any open data requests want any tree char data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not any open data requests want any tree float data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
|
|
Whether or not any open data requests want any tree int data members.
Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
1.4.6-NO