MCPcopy Create free account
hub / github.com/Kitware/VTK / ~vtkNetCDFPOPReader

Method ~vtkNetCDFPOPReader

IO/NetCDF/vtkNetCDFPOPReader.cxx:71–86  ·  view source on GitHub ↗

------------------------------------------------------------------------------ delete filename and netcdf file descriptor

Source from the content-addressed store, hash-verified

69//------------------------------------------------------------------------------
70// delete filename and netcdf file descriptor
71vtkNetCDFPOPReader::~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//------------------------------------------------------------------------------
89void vtkNetCDFPOPReader::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 3

nc_closeFunction · 0.85
DeleteMethod · 0.65
SetFileNameMethod · 0.45

Tested by

no test coverage detected