| 196 | // Release storage and reset array to initial state. |
| 197 | |
| 198 | void vtkStringArray::Initialize() |
| 199 | { |
| 200 | if (this->DeleteFunction) |
| 201 | { |
| 202 | this->DeleteFunction(this->Array); |
| 203 | } |
| 204 | this->Array = nullptr; |
| 205 | this->Size = 0; |
| 206 | this->MaxId = -1; |
| 207 | this->DeleteFunction = DefaultDeleteFunction; |
| 208 | this->DataChanged(); |
| 209 | } |
| 210 | |
| 211 | //------------------------------------------------------------------------------ |
| 212 | bool vtkStringArray::CopyComponent(int dstComponent, vtkAbstractArray* src, int srcComponent) |
no test coverage detected