| 248 | }; |
| 249 | |
| 250 | int vtkMNIObjectWriter::WriteValues(vtkDataArray* array) |
| 251 | { |
| 252 | auto aos = array->ToAOSDataArray(); |
| 253 | vtkMNIObjectWriterFunctor functor; |
| 254 | if (!vtkArrayDispatch::DispatchByArray<vtkArrayDispatch::AOSArrays>::Execute(aos, functor, this)) |
| 255 | { |
| 256 | vtkErrorMacro(<< "WriteValues: Array " << array->GetClassName() << " not supported."); |
| 257 | return 0; |
| 258 | } |
| 259 | return functor.Result; |
| 260 | } |
| 261 | |
| 262 | //------------------------------------------------------------------------------ |
| 263 | int vtkMNIObjectWriter::WriteIdValue(vtkIdType value) |
no test coverage detected