Aimsun Next Scripting
22
|
Public Member Functions | |
GKODBCExcelController (const QString &dataBaseName) | |
~GKODBCExcelController () | |
bool | open (const QString &excelFilePath) |
void | close () |
QList< QStringList > | readExcelSubTable (const QString &sheetName, const QString &startCell, const QString &endCell) const |
GKODBCExcelController::GKODBCExcelController | ( | const QString & | dataBaseName | ) |
GKODBCExcelController::~GKODBCExcelController | ( | ) |
void GKODBCExcelController::close | ( | ) |
Close the ODBC DataBase.
bool GKODBCExcelController::open | ( | const QString & | excelFilePath | ) |
Open the ODBC DataBase.
QList< QStringList > GKODBCExcelController::readExcelSubTable | ( | const QString & | sheetName, |
const QString & | startCell, | ||
const QString & | endCell | ||
) | const |
Read an Excel Subtable. Example: getExcelSubTable( "Sheet1", "A1", "B5" ) Return: res[excelRowIndex][excelColumnIndex], the index (0, 0) is the top left cell of the subtable.