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

Method ~vtkMySQLDatabase

IO/MySQL/vtkMySQLDatabase.cxx:46–61  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

44
45//------------------------------------------------------------------------------
46vtkMySQLDatabase::~vtkMySQLDatabase()
47{
48 if (this->IsOpen())
49 {
50 this->Close();
51 }
52 this->SetDatabaseType(nullptr);
53 this->SetHostName(nullptr);
54 this->SetUser(nullptr);
55 this->SetDatabaseName(nullptr);
56 this->SetPassword(nullptr);
57
58 this->Tables->UnRegister(this);
59
60 delete this->Private;
61}
62
63//------------------------------------------------------------------------------
64void vtkMySQLDatabase::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 4

IsOpenMethod · 0.95
CloseMethod · 0.95
SetPasswordMethod · 0.45
UnRegisterMethod · 0.45

Tested by

no test coverage detected