| 159 | } |
| 160 | |
| 161 | void vtkArrayData::DeepCopy(vtkDataObject* other) |
| 162 | { |
| 163 | if (vtkArrayData* const array_data = vtkArrayData::SafeDownCast(other)) |
| 164 | { |
| 165 | this->ClearArrays(); |
| 166 | for (size_t i = 0; i != array_data->Implementation->Arrays.size(); ++i) |
| 167 | { |
| 168 | this->Implementation->Arrays.push_back(array_data->Implementation->Arrays[i]->DeepCopy()); |
| 169 | } |
| 170 | this->Modified(); |
| 171 | } |
| 172 | |
| 173 | Superclass::DeepCopy(other); |
| 174 | } |
| 175 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected