------------------------------------------------------------------------------
| 172 | |
| 173 | //------------------------------------------------------------------------------ |
| 174 | int* vtkInformationExecutivePortVectorKey::GetPorts(vtkInformation* info) |
| 175 | { |
| 176 | vtkInformationExecutivePortVectorValue* v = |
| 177 | static_cast<vtkInformationExecutivePortVectorValue*>(this->GetAsObjectBase(info)); |
| 178 | return (v && !v->Ports.empty()) ? v->Ports.data() : nullptr; |
| 179 | } |
| 180 | |
| 181 | //------------------------------------------------------------------------------ |
| 182 | void vtkInformationExecutivePortVectorKey::Get( |
no test coverage detected