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

Method GetNumberOfFields

IO/SQL/vtkSQLiteQuery.cxx:222–233  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

220
221//------------------------------------------------------------------------------
222int vtkSQLiteQuery::GetNumberOfFields()
223{
224 if (!this->Active)
225 {
226 vtkErrorMacro(<< "GetNumberOfFields(): Query is not active!");
227 return 0;
228 }
229 else
230 {
231 return sqlite3_column_count(this->Private->Statement);
232 }
233}
234
235//------------------------------------------------------------------------------
236const char* vtkSQLiteQuery::GetFieldName(int column)

Callers 8

GetFieldNameMethod · 0.95
GetFieldTypeMethod · 0.95
DataValueMethod · 0.95
RequestDataMethod · 0.45
RequestDataMethod · 0.45
GetFieldIndexMethod · 0.45
NextRowMethod · 0.45
TestSQLiteDatabaseFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestSQLiteDatabaseFunction · 0.36