------------------------------------------------------------------------------ Release storage and reset array to initial state.
| 198 | //------------------------------------------------------------------------------ |
| 199 | // Release storage and reset array to initial state. |
| 200 | void vtkBitArray::Initialize() |
| 201 | { |
| 202 | if (this->DeleteFunction) |
| 203 | { |
| 204 | this->DeleteFunction(this->Array); |
| 205 | } |
| 206 | this->Array = nullptr; |
| 207 | this->Size = 0; |
| 208 | this->MaxId = -1; |
| 209 | this->DeleteFunction = ::operator delete[]; |
| 210 | this->DataChanged(); |
| 211 | } |
| 212 | |
| 213 | //------------------------------------------------------------------------------ |
| 214 | // Deep copy of another bit array. |
no test coverage detected