36bool parseRange(
const std::string& pRange,
int& pStartRow,
int& pStartCol,
37 int& pEndRow,
int& pEndCol);
43 std::vector<double>& pValues, std::string& pErrorMsg);
48 std::string& pResult, std::string& pErrorMsg);
This is a class representing a grid of data, similar to a spreadsheet, with rows & columns of cells w...
Definition cxGrid.h:31
bool evaluateFormula(cx::cxGrid &pGrid, const std::string &pFormula, std::string &pResult, std::string &pErrorMsg)
bool collectValues(cx::cxGrid &pGrid, const std::string &pArgs, std::vector< double > &pValues, std::string &pErrorMsg)
bool parseCellRef(const std::string &pRef, int &pRow, int &pCol)
int colLetterToIndex(const std::string &pCol)
bool parseRange(const std::string &pRange, int &pStartRow, int &pStartCol, int &pEndRow, int &pEndCol)
std::string colIndexToLetter(int pCol)
Definition helpers.cpp:36
bool loadFromFile(cx::cxGrid &pGrid, const std::string &pFilePath, std::string &pErrorMsg)
bool saveToFile(cx::cxGrid &pGrid, const std::string &pFilePath, std::string &pErrorMsg)
bool getCellNumericValue(cx::cxGrid &pGrid, int pRow, int pCol, double &pVal)
Definition helpers.cpp:96
bool tryParseDouble(const std::string &pStr, double &pVal)