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

Method Initialize

Common/Core/vtkVariantArray.cxx:152–163  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

150
151//------------------------------------------------------------------------------
152void vtkVariantArray::Initialize()
153{
154 if (this->DeleteFunction)
155 {
156 this->DeleteFunction(this->Array);
157 }
158 this->Array = nullptr;
159 this->Size = 0;
160 this->MaxId = -1;
161 this->DeleteFunction = DefaultDeleteFunction;
162 this->DataChanged();
163}
164
165//------------------------------------------------------------------------------
166bool vtkVariantArray::CopyComponent(int dstComponent, vtkAbstractArray* src, int srcComponent)

Callers 3

ResizeMethod · 0.95
ResizeAndExtendMethod · 0.95
NewIteratorMethod · 0.45

Calls 1

DataChangedMethod · 0.95

Tested by

no test coverage detected