|
Public Member Functions |
|
| virtual void | readFromFile (ifstream &s) |
| | Return pointers to crop growth modules.
|
| virtual void | readFromFile (char *s) |
| virtual void | readFromFile (string s) |
|
| int | rows () |
| | Some functions to access information.
|
| int | cols () |
| void | checkDimension (int r, int cAbs, string nameOfFunction) |
| int | getStringCols () |
| int | strings () |
| int | getNumCols (DataType dt) |
| DataType | getTypeFromAbsCol (int cAbs) |
| int | getInternalColFromAbsCol (int cAbs) |
| virtual int | findAbsColumnByName (string varname) |
| virtual DataType | getTypeByVarname (string varname) |
| virtual string | getVariableName (int cAbs) |
|
| virtual int | getInt (int r, int colAbs) |
| virtual double | getDouble (int r, int colAbs) |
| virtual string | getString (int r, int colAbs) |
| virtual int | getInt (int r, string varname) |
| virtual double | getDouble (int r, string varname) |
| virtual string | getString (int r, string varname) |
|
| virtual void | setValue (int r, int c, double value) |
| virtual void | setString (int r, int c, string str) |
|
| virtual void | writeToFile (ofstream &) |
| virtual void | writeToFile (char *s) |
| virtual void | writeToFile (string s) |
| void | writeToFile_RowsWhereColUnequals (string fn, string nm, double valCol) |
|
| virtual DataType | getCol (string varname, MatrixDouble &matrixTarget) |
| | Get complete columns.
|
| virtual DataType | copyColumnIntoVector (string varname, MatrixDouble &matrixTarget) |
| virtual DataType | getCol (string varname, string *&stringArrayTarget) |
| virtual DataType | getCol (int col, MatrixDouble &matrixTarget, int colOfMat) |
| virtual DataType | copyColumnIntoMatrix (int col, MatrixDouble &matrixTarget, int colOfMat) |
| virtual DataType | getCol (int col, MatrixDouble &matrixTarget) |
| virtual DataType | getCol (int col, string *&names) |
| void | getMatrixFromTable (int startVal, int endVal, MatrixDouble &indexValueAndColumn, MatrixDouble &monthlyWaterRequirements) |
| void | getMatrixWithStartString (string startStr, MatrixDouble &indexValueAndColumn, MatrixDouble &matrixReturned) |
| | Get full matrix with common start string.
|
|
| void | printKeyToScreen () |
| void | printAllInfo () |
| void | printStrings () |
| void | printCell (int r, int colAbs) |
| void | printCellToStream (int r, int colAbs, ofstream &out) |
| void | printRowToStream (int r, ofstream &out) |
| void | printRow (int r) |
| void | printCol (int columnAbsolute) |
| void | printCol (string varn) |
| void | printVarNames () |
| void | printVarNamesToStream (ofstream &out) |
| void | printTypesToStream (ofstream &out) |
| void | printTypes () |
|
| virtual int | findAllRowsWithVal (int colAbs, double val, MatrixDouble &foundVals) |
| virtual int | findAllRowsWithVal (string varNm, double val, MatrixDouble &foundVals) |
| virtual int | findAllRowsWithVal (int colAbs, int val, MatrixDouble &foundVals) |
| virtual int | findAllRowsWithVal (string varNm, int val, MatrixDouble &foundVals) |
| virtual void | shrinkKeyToActualSize () |
|
| | classInputTable (void) |
| void | initializeEmpty () |
| | classInputTable (classInputTable &tab) |
| void | allocate (int rows_, int numberOfcolumns_, MatrixDouble &vectorOfColumnTypes, string *&namesOfColumns) |
| virtual | ~classInputTable () |
| void | copyToThis (classInputTable &tab) |
| virtual void | deallocate () |
| virtual classInputTable & | operator= (classInputTable &tab) |
|
| virtual void | readFromFile (ifstream &s) |
| | Return pointers to crop growth modules.
|
| virtual void | readFromFile (char *s) |
| virtual void | readFromFile (string s) |
|
| int | rows () |
| | Some functions to access information.
|
| int | cols () |
| int | getStringCols () |
| int | strings () |
| int | getNumCols (DataType dt) |
| DataType | getTypeFromAbsCol (int cAbs) |
| int | getInternalColFromAbsCol (int cAbs) |
| virtual int | findAbsColumnByName (string varname) |
| virtual DataType | getTypeByVarname (string varname) |
|
| virtual int | getInt (int r, int colAbs) |
| virtual double | getDouble (int r, int colAbs) |
| virtual string | getString (int r, int colAbs) |
| virtual int | getInt (int r, string varname) |
| virtual double | getDouble (int r, string varname) |
| virtual string | getString (int r, string varname) |
|
| virtual void | writeToFile (ofstream &) |
| virtual void | writeToFile (char *s) |
| virtual void | writeToFile (string s) |
|
| virtual DataType | getCol (string varname, MatrixDouble &mat) |
| | Get complete columns.
|
| virtual DataType | getCol (string varname, string *&names) |
| virtual DataType | getCol (int col, MatrixDouble &mat) |
| virtual DataType | getCol (int col, string *&mat) |
| void | getMatrixFromTable (int startVal, int endVal, MatrixDouble &monthlyWaterRequirements) |
|
| void | printKeyToScreen () |
| void | printAllInfo () |
| void | printStrings () |
| void | printCell (int r, int colAbs) |
| void | printCellToStream (int r, int colAbs, ofstream &out) |
| void | printRowToStream (int r, ofstream &out) |
| void | printRow (int r) |
| void | printCol (int cAbs) |
| void | printCol (string varn) |
| void | printVarNames () |
| void | printVarNamesToStream (ofstream &out) |
| void | printTypesToStream (ofstream &out) |
| void | printTypes () |
|
| virtual int | findAllRowsWithVal (int colAbs, double val, MatrixDouble &foundVals) |
| virtual int | findAllRowsWithVal (string varNm, double val, MatrixDouble &foundVals) |
| virtual int | findAllRowsWithVal (int colAbs, int val, MatrixDouble &foundVals) |
| virtual int | findAllRowsWithVal (string varNm, int val, MatrixDouble &foundVals) |
| virtual void | shrinkKeyToActualSize () |
|
| | classInputTable (void) |
| void | initializeEmpty () |
| | classInputTable (classInputTable &tab) |
| virtual | ~classInputTable () |
| void | copyToThis (classInputTable &tab) |
| virtual void | deallocate () |
| virtual classInputTable & | operator= (classInputTable &tab) |
Protected Member Functions |
| void | copyStr (string **s) |
| void | copyVarNames (string *varNames) |
| void | setRows (int r) |
| void | setCols (int c) |
| virtual void | copyMat (MatrixDouble &m) |
| virtual void | copyKey (MatrixDouble k) |
| virtual int | getInternalColByVarname (string varname) |
| virtual bool | testForMatType (DataType dt) |
| virtual bool | testForMatType (DataType dt, bool doOutput) |
| void | copyStr (string **s) |
| void | copyVarNames (string *varNames) |
| void | setRows (int r) |
| void | setCols (int c) |
| virtual void | copyMat (MatrixDouble &m) |
| virtual void | copyKey (MatrixDouble k) |
| virtual int | getInternalColByVarname (string varname) |
| virtual bool | testForMatType (DataType dt) |
| virtual bool | testForMatType (DataType dt, bool doOutput) |
Protected Attributes |
| bool | isvirgine |
| | Data.
|
| int | hasNumberOfCols |
| int | hasNumberOfRows |
| int | hasNumberOfStringCols |
| int | hasNumberOfDoubles |
| int | hasNumberOfInts |
| string * | varNames |
| string ** | str |
| MatrixDouble | mat |
| MatrixDouble | KEY |
| string * | varNames |
| string ** | str |
Private Member Functions |
| virtual void | setAllZero () |
| virtual void | setAllZero () |