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

Method RemoveAllAttributes

Common/DataModel/vtkXMLDataElement.cxx:106–114  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

104
105//------------------------------------------------------------------------------
106void vtkXMLDataElement::RemoveAllAttributes()
107{
108 for (int i = 0; i < this->NumberOfAttributes; ++i)
109 {
110 delete[] this->AttributeNames[i];
111 delete[] this->AttributeValues[i];
112 }
113 this->NumberOfAttributes = 0;
114}
115
116//------------------------------------------------------------------------------
117void vtkXMLDataElement::RemoveAllNestedElements()

Callers 3

~vtkXMLDataElementMethod · 0.95
DeepCopyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected