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

Method Initialize

Common/Core/vtkStringArray.cxx:198–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196// Release storage and reset array to initial state.
197
198void 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//------------------------------------------------------------------------------
212bool vtkStringArray::CopyComponent(int dstComponent, vtkAbstractArray* src, int srcComponent)

Callers 4

ResizeAndExtendMethod · 0.95
ResizeMethod · 0.95
NewIteratorMethod · 0.45
UpdateLookupMethod · 0.45

Calls 1

DataChangedMethod · 0.95

Tested by

no test coverage detected