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

Method ~vtkAMRBaseReader

IO/AMR/vtkAMRBaseReader.cxx:43–65  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

41
42//------------------------------------------------------------------------------
43vtkAMRBaseReader::~vtkAMRBaseReader()
44{
45 this->PointDataArraySelection->RemoveObserver(this->SelectionObserver);
46 this->CellDataArraySelection->RemoveObserver(this->SelectionObserver);
47 this->SelectionObserver->Delete();
48 this->CellDataArraySelection->Delete();
49 this->PointDataArraySelection->Delete();
50
51 if (this->Cache != nullptr)
52 {
53 this->Cache->Delete();
54 }
55
56 if (this->Metadata != nullptr)
57 {
58 this->Metadata->Delete();
59 }
60
61 delete[] this->FileName;
62 this->FileName = nullptr;
63
64 this->SetController(nullptr);
65}
66
67//------------------------------------------------------------------------------
68int vtkAMRBaseReader::FillOutputPortInformation(int vtkNotUsed(port), vtkInformation* info)

Callers

nothing calls this directly

Calls 3

DeleteMethod · 0.65
RemoveObserverMethod · 0.45
SetControllerMethod · 0.45

Tested by

no test coverage detected