MCPcopy Create free account
hub / github.com/Kitware/VTK / ~vtkAbstractArray

Method ~vtkAbstractArray

Common/Core/vtkAbstractArray.cxx:101–116  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

99
100//------------------------------------------------------------------------------
101vtkAbstractArray::~vtkAbstractArray()
102{
103 if (this->ComponentNames)
104 {
105 for (unsigned int i = 0; i < this->ComponentNames->size(); ++i)
106 {
107 delete this->ComponentNames->at(i);
108 }
109 this->ComponentNames->clear();
110 delete this->ComponentNames;
111 this->ComponentNames = nullptr;
112 }
113
114 this->SetName(nullptr);
115 this->SetInformation(nullptr);
116}
117
118//------------------------------------------------------------------------------
119void vtkAbstractArray::SetComponentName(vtkIdType component, const char* name)

Callers

nothing calls this directly

Calls 5

SetInformationMethod · 0.95
sizeMethod · 0.45
atMethod · 0.45
clearMethod · 0.45
SetNameMethod · 0.45

Tested by

no test coverage detected