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

Method GetNumberOfFields

IO/MySQL/vtkMySQLQuery.cxx:606–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604//------------------------------------------------------------------------------
605
606int vtkMySQLQuery::GetNumberOfFields()
607{
608 if (!this->Active)
609 {
610 vtkErrorMacro(<< "GetNumberOfFields(): Query is not active!");
611 return 0;
612 }
613 else
614 {
615 return static_cast<int>(mysql_num_fields(this->Internals->Result));
616 }
617}
618
619//------------------------------------------------------------------------------
620

Callers 5

GetFieldNameMethod · 0.95
GetFieldTypeMethod · 0.95
DataValueMethod · 0.95
RequestDataMethod · 0.45
TestMySQLDatabaseFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestMySQLDatabaseFunction · 0.36