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

Method GetNumberOfOptionsInTable

IO/SQL/vtkSQLDatabaseSchema.cxx:813–822  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

811
812//------------------------------------------------------------------------------
813int 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}
823VTK_ABI_NAMESPACE_END

Callers 1

EffectSchemaMethod · 0.80

Calls 2

GetNumberOfTablesMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected