Greet 2014
Documentation for the GREET 2014 API
 All Classes Namespaces Functions Variables Enumerations Properties Events
Greet.DataStructureV3.Entities.InputTable Class Reference

An input table object stores rows, columns and table input objects. The table input objects can be either DoubleValue or DoubleValueTS More...

Inheritance diagram for Greet.DataStructureV3.Entities.InputTable:
Greet.DataStructureV3.Interfaces.IInputTable Greet.DataStructureV3.Interfaces.IXmlObj Greet.DataStructureV3.IHaveMetadata Greet.DataStructureV3.Interfaces.IXmlObj

Public Member Functions

 InputTable (string name, int tabId)
 
void FromXmlNode (IData data, XmlNode node)
 
void SetGridData (List< string > columnNames, List< string > rowNames, List< List< object >> values)
 Clears the rows and columns, then populate them again using the column and row names provided as parameters Use the value given as parameters to populate the data for each row. More...
 
void SetTableValuesFromText (GData data, string pastedText)
 
override string ToString ()
 
XmlNode ToXmlNode (XmlDocument xmlDoc)
 

Public Attributes

string help
 
string idName
 

Properties

List< InputTableColumnColumns [get, set]
 The list of column names for the table More...
 
string Id [get, set]
 
string ModifiedBy [get, set]
 
string ModifiedOn [get, set]
 
string Name [get, set]
 Takes ID name and simply removes the underscores and replaces them with spaces so it looks nice for GUI. More...
 
string Notes [get, set]
 
Dictionary< int, InputTableRowRows [get, set]
 A dictionary of rows for the tables, the key is the row header the value is the list of doublevalues that populate the table More...
 
int TabId [get, set]
 Get or Set the ID of the tab to which this table is associated. More...
 
- Properties inherited from Greet.DataStructureV3.Interfaces.IInputTable
string Id [get, set]
 Unique ID for the gas More...
 
string Name [get, set]
 The name for this gas More...
 

Detailed Description

An input table object stores rows, columns and table input objects. The table input objects can be either DoubleValue or DoubleValueTS

Member Function Documentation

void Greet.DataStructureV3.Entities.InputTable.SetGridData ( List< string >  columnNames,
List< string >  rowNames,
List< List< object >>  values 
)

Clears the rows and columns, then populate them again using the column and row names provided as parameters Use the value given as parameters to populate the data for each row.

Parameters
columnNamesThe new desired column names
rowNamesThe new desired row names
valuesNested list of data objects, first level are the rows, second levels are the columns

Property Documentation

List<InputTableColumn> Greet.DataStructureV3.Entities.InputTable.Columns
getset

The list of column names for the table

string Greet.DataStructureV3.Entities.InputTable.Name
getset

Takes ID name and simply removes the underscores and replaces them with spaces so it looks nice for GUI.

Dictionary<int, InputTableRow> Greet.DataStructureV3.Entities.InputTable.Rows
getset

A dictionary of rows for the tables, the key is the row header the value is the list of doublevalues that populate the table

int Greet.DataStructureV3.Entities.InputTable.TabId
getset

Get or Set the ID of the tab to which this table is associated.


The documentation for this class was generated from the following file: