------------------------------------------------------------------------------
| 656 | |
| 657 | //------------------------------------------------------------------------------ |
| 658 | const char* vtkSQLDatabaseSchema::GetOptionBackendFromHandle(int tblHandle, int optHandle) |
| 659 | { |
| 660 | if (tblHandle < 0 || tblHandle >= this->GetNumberOfTables()) |
| 661 | { |
| 662 | vtkErrorMacro("Cannot get backend of an option in non-existent table " << tblHandle); |
| 663 | return nullptr; |
| 664 | } |
| 665 | |
| 666 | if (optHandle < 0 || |
| 667 | optHandle >= static_cast<int>(this->Internals->Tables[tblHandle].Options.size())) |
| 668 | { |
| 669 | vtkErrorMacro( |
| 670 | "Cannot get backend of non-existent option " << optHandle << " in table " << tblHandle); |
| 671 | return nullptr; |
| 672 | } |
| 673 | |
| 674 | return this->Internals->Tables[tblHandle].Options[optHandle].Backend.c_str(); |
| 675 | } |
| 676 | |
| 677 | //------------------------------------------------------------------------------ |
| 678 | int vtkSQLDatabaseSchema::AddTableMultipleArguments(const char* tblName, ...) |
no test coverage detected