------------------------------------------------------------------------------ Deallocate and clear the list of fields.
| 886 | //------------------------------------------------------------------------------ |
| 887 | // Deallocate and clear the list of fields. |
| 888 | void 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. |
no outgoing calls
no test coverage detected