------------------------------------------------------------------------------
| 317 | |
| 318 | //------------------------------------------------------------------------------ |
| 319 | int vtkAbstractArray::CopyInformation(vtkInformation* infoFrom, vtkTypeBool deep) |
| 320 | { |
| 321 | // Copy all keys. NOTE: subclasses rely on this. |
| 322 | vtkInformation* myInfo = this->GetInformation(); |
| 323 | myInfo->Copy(infoFrom, deep); |
| 324 | |
| 325 | // Remove any keys we own that are not to be copied here. |
| 326 | // For now, remove per-component metadata. |
| 327 | myInfo->Remove(PER_COMPONENT()); |
| 328 | myInfo->Remove(PER_FINITE_COMPONENT()); |
| 329 | myInfo->Remove(DISCRETE_VALUES()); |
| 330 | |
| 331 | return 1; |
| 332 | } |
| 333 | |
| 334 | //------------------------------------------------------------------------------ |
| 335 | // call modified on superclass |
no test coverage detected