------------------------------------------------------------------------------ delete filename and netcdf file descriptor
| 69 | //------------------------------------------------------------------------------ |
| 70 | // delete filename and netcdf file descriptor |
| 71 | vtkNetCDFPOPReader::~vtkNetCDFPOPReader() |
| 72 | { |
| 73 | this->SetFileName(nullptr); |
| 74 | if (this->OpenedFileName) |
| 75 | { |
| 76 | nc_close(this->NCDFFD); |
| 77 | this->SetOpenedFileName(nullptr); |
| 78 | } |
| 79 | if (this->SelectionObserver) |
| 80 | { |
| 81 | this->SelectionObserver->Delete(); |
| 82 | this->SelectionObserver = nullptr; |
| 83 | } |
| 84 | delete this->Internals; |
| 85 | this->Internals = nullptr; |
| 86 | } |
| 87 | |
| 88 | //------------------------------------------------------------------------------ |
| 89 | void vtkNetCDFPOPReader::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected