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

Method ClearFieldFlags

Common/DataModel/vtkFieldData.cxx:888–900  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Deallocate and clear the list of fields.

Source from the content-addressed store, hash-verified

886//------------------------------------------------------------------------------
887// Deallocate and clear the list of fields.
888void vtkFieldData::ClearFieldFlags()
889{
890 if (this->NumberOfFieldFlags > 0)
891 {
892 for (int i = 0; i < this->NumberOfFieldFlags; ++i)
893 {
894 delete[] this->CopyFieldFlags[i].ArrayName;
895 }
896 }
897 delete[] this->CopyFieldFlags;
898 this->CopyFieldFlags = nullptr;
899 this->NumberOfFieldFlags = 0;
900}
901
902//------------------------------------------------------------------------------
903// Find if field is in CopyFieldFlags.

Callers 3

~vtkFieldDataMethod · 0.95
InitializeMethod · 0.95
CopyFlagsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected