------------------------------------------------------------------------------
| 361 | |
| 362 | //------------------------------------------------------------------------------ |
| 363 | bool 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 | //------------------------------------------------------------------------------ |
| 383 | const char* vtkPostgreSQLQuery::GetLastErrorText() |