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

Method GetNumberOfTriggersInTable

IO/SQL/vtkSQLDatabaseSchema.cxx:801–810  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

799
800//------------------------------------------------------------------------------
801int vtkSQLDatabaseSchema::GetNumberOfTriggersInTable(int tblHandle)
802{
803 if (tblHandle < 0 || tblHandle >= this->GetNumberOfTables())
804 {
805 vtkErrorMacro("Cannot get the number of triggers of non-existent table " << tblHandle);
806 return -1;
807 }
808
809 return static_cast<int>(this->Internals->Tables[tblHandle].Triggers.size());
810}
811
812//------------------------------------------------------------------------------
813int vtkSQLDatabaseSchema::GetNumberOfOptionsInTable(int tblHandle)

Callers 2

EffectSchemaMethod · 0.80
TestSQLDatabaseSchemaFunction · 0.80

Calls 2

GetNumberOfTablesMethod · 0.95
sizeMethod · 0.45

Tested by 1

TestSQLDatabaseSchemaFunction · 0.64