MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNumberOfIndicesInTable

Method GetNumberOfIndicesInTable

IO/SQL/vtkSQLDatabaseSchema.cxx:768–777  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

766
767//------------------------------------------------------------------------------
768int vtkSQLDatabaseSchema::GetNumberOfIndicesInTable(int tblHandle)
769{
770 if (tblHandle < 0 || tblHandle >= this->GetNumberOfTables())
771 {
772 vtkErrorMacro("Cannot get the number of indices of non-existent table " << tblHandle);
773 return -1;
774 }
775
776 return static_cast<int>(this->Internals->Tables[tblHandle].Indices.size());
777}
778
779//------------------------------------------------------------------------------
780int vtkSQLDatabaseSchema::GetNumberOfColumnNamesInIndex(int tblHandle, int idxHandle)

Callers 3

TestMySQLDatabaseFunction · 0.80
EffectSchemaMethod · 0.80
TestSQLDatabaseSchemaFunction · 0.80

Calls 2

GetNumberOfTablesMethod · 0.95
sizeMethod · 0.45

Tested by 2

TestMySQLDatabaseFunction · 0.64
TestSQLDatabaseSchemaFunction · 0.64