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

Method NextRow

IO/PostgreSQL/vtkPostgreSQLQuery.cxx:363–380  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

361
362//------------------------------------------------------------------------------
363bool vtkPostgreSQLQuery::NextRow()
364{
365 if (!this->IsActive() || !this->QueryInternals)
366 {
367 vtkErrorMacro("Query is not active!");
368 return false;
369 }
370
371 if (this->QueryInternals->CurrentRow < (this->GetNumberOfRows() - 1))
372 {
373 ++this->QueryInternals->CurrentRow;
374 return true;
375 }
376 else
377 {
378 return false;
379 }
380}
381
382//------------------------------------------------------------------------------
383const char* vtkPostgreSQLQuery::GetLastErrorText()

Callers 6

GetTablesMethod · 0.45
GetRecordMethod · 0.45
GetDatabasesMethod · 0.45
UpdateDataTypeMapMethod · 0.45
RequestDataMethod · 0.45
TestPostgreSQLDatabaseFunction · 0.45

Calls 1

GetNumberOfRowsMethod · 0.95

Tested by 1

TestPostgreSQLDatabaseFunction · 0.36