| 970 | //------------------------------------------------------------------------------ |
| 971 | |
| 972 | vtkMPASReader::~vtkMPASReader() |
| 973 | { |
| 974 | vtkDebugMacro(<< "Destructing vtkMPASReader..." << endl); |
| 975 | |
| 976 | this->SetFileName(nullptr); |
| 977 | |
| 978 | this->Internals->close(); |
| 979 | |
| 980 | this->DestroyData(); |
| 981 | |
| 982 | vtkDebugMacro(<< "Destructing other stuff..." << endl); |
| 983 | if (this->PointDataArraySelection) |
| 984 | { |
| 985 | this->PointDataArraySelection->Delete(); |
| 986 | this->PointDataArraySelection = nullptr; |
| 987 | } |
| 988 | if (this->CellDataArraySelection) |
| 989 | { |
| 990 | this->CellDataArraySelection->Delete(); |
| 991 | this->CellDataArraySelection = nullptr; |
| 992 | } |
| 993 | if (this->SelectionObserver) |
| 994 | { |
| 995 | this->SelectionObserver->Delete(); |
| 996 | this->SelectionObserver = nullptr; |
| 997 | } |
| 998 | |
| 999 | delete this->Internals; |
| 1000 | |
| 1001 | vtkDebugMacro(<< "Destructed vtkMPASReader" << endl); |
| 1002 | } |
| 1003 | |
| 1004 | //------------------------------------------------------------------------------ |
| 1005 | void vtkMPASReader::ReleaseNcData() |
nothing calls this directly
no test coverage detected