MCPcopy Create free account
hub / github.com/Kitware/VTK / Initialize

Method Initialize

Common/Core/vtkBitArray.cxx:200–211  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Release storage and reset array to initial state.

Source from the content-addressed store, hash-verified

198//------------------------------------------------------------------------------
199// Release storage and reset array to initial state.
200void 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.

Callers 3

ResizeAndExtendMethod · 0.95
ResizeMethod · 0.95
NewIteratorMethod · 0.45

Calls 1

DataChangedMethod · 0.95

Tested by

no test coverage detected