------------------------------------------------------------------------------
| 811 | |
| 812 | //------------------------------------------------------------------------------ |
| 813 | int vtkSQLDatabaseSchema::GetNumberOfOptionsInTable(int tblHandle) |
| 814 | { |
| 815 | if (tblHandle < 0 || tblHandle >= this->GetNumberOfTables()) |
| 816 | { |
| 817 | vtkErrorMacro("Cannot get the number of options of non-existent table " << tblHandle); |
| 818 | return -1; |
| 819 | } |
| 820 | |
| 821 | return static_cast<int>(this->Internals->Tables[tblHandle].Options.size()); |
| 822 | } |
| 823 | VTK_ABI_NAMESPACE_END |
no test coverage detected