------------------------------------------------------------------------------
| 312 | |
| 313 | //------------------------------------------------------------------------------ |
| 314 | int vtkSQLDatabaseSchema::GetTableHandleFromName(const char* tblName) |
| 315 | { |
| 316 | int i; |
| 317 | int ntab = static_cast<int>(this->Internals->Tables.size()); |
| 318 | std::string tblNameStr(tblName); |
| 319 | for (i = 0; i < ntab; ++i) |
| 320 | { |
| 321 | if (this->Internals->Tables[i].Name == tblNameStr) |
| 322 | { |
| 323 | return i; |
| 324 | } |
| 325 | } |
| 326 | return -1; |
| 327 | } |
| 328 | |
| 329 | //------------------------------------------------------------------------------ |
| 330 | const char* vtkSQLDatabaseSchema::GetTableNameFromHandle(int tblHandle) |
no test coverage detected