| 60 | } |
| 61 | |
| 62 | bool vtkRowQuery::NextRow(vtkVariantArray* rowArray) |
| 63 | { |
| 64 | if (!this->NextRow()) |
| 65 | { |
| 66 | return false; |
| 67 | } |
| 68 | rowArray->Reset(); |
| 69 | for (int col = 0; col < this->GetNumberOfFields(); col++) |
| 70 | { |
| 71 | rowArray->InsertNextValue(this->DataValue(col)); |
| 72 | } |
| 73 | return true; |
| 74 | } |
| 75 | VTK_ABI_NAMESPACE_END |