------------------------------------------------------------------------------ Look at all inputs and check ABORTED flag. If it is set, return true. Otherwise return false.
| 771 | // Look at all inputs and check ABORTED flag. If it is set, return true. |
| 772 | // Otherwise return false. |
| 773 | bool vtkExecutive::CheckAbortedInput(vtkInformationVector** inInfoVec) |
| 774 | { |
| 775 | for (int i = 0; i < this->GetNumberOfInputPorts(); i++) |
| 776 | { |
| 777 | for (int j = 0; j < inInfoVec[i]->GetNumberOfInformationObjects(); j++) |
| 778 | { |
| 779 | if (inInfoVec[i]->GetInformationObject(j)->Get(vtkAlgorithm::ABORTED())) |
| 780 | { |
| 781 | return true; |
| 782 | } |
| 783 | } |
| 784 | } |
| 785 | return false; |
| 786 | } |
| 787 | VTK_ABI_NAMESPACE_END |
no test coverage detected