------------------------------------------------------------------------------
| 1566 | |
| 1567 | //------------------------------------------------------------------------------ |
| 1568 | vtkInformation* vtkAlgorithm::GetInputInformation(int port, int index) |
| 1569 | { |
| 1570 | if (index < 0 || index >= this->GetNumberOfInputConnections(port)) |
| 1571 | { |
| 1572 | vtkErrorMacro("Attempt to get connection index " |
| 1573 | << index << " for input port " << port << ", which has " |
| 1574 | << this->GetNumberOfInputConnections(port) << " connections."); |
| 1575 | return nullptr; |
| 1576 | } |
| 1577 | return this->GetExecutive()->GetInputInformation(port, index); |
| 1578 | } |
| 1579 | |
| 1580 | //------------------------------------------------------------------------------ |
| 1581 | vtkAlgorithm* vtkAlgorithm::GetInputAlgorithm(int port, int index) |
no test coverage detected