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

Method ~vtkPostgreSQLDatabase

IO/PostgreSQL/vtkPostgreSQLDatabase.cxx:49–63  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

47
48//------------------------------------------------------------------------------
49vtkPostgreSQLDatabase::~vtkPostgreSQLDatabase()
50{
51 if (this->IsOpen())
52 {
53 this->Close();
54 }
55
56 this->SetHostName(nullptr);
57 this->SetUser(nullptr);
58 this->SetDatabaseName(nullptr);
59 this->SetConnectOptions(nullptr);
60 this->SetDatabaseType(nullptr);
61 this->SetLastErrorText(nullptr);
62 this->Tables->UnRegister(this);
63}
64
65//------------------------------------------------------------------------------
66void vtkPostgreSQLDatabase::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 3

IsOpenMethod · 0.95
CloseMethod · 0.95
UnRegisterMethod · 0.45

Tested by

no test coverage detected