MCPcopy Create free account
hub / github.com/Kitware/VTK / Close

Method Close

IO/PostgreSQL/vtkPostgreSQLDatabase.cxx:294–303  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

292
293//------------------------------------------------------------------------------
294void vtkPostgreSQLDatabase::Close()
295{
296 if (this->Connection)
297 {
298 delete this->Connection;
299 this->Connection = nullptr;
300 this->SetLastErrorText(nullptr);
301 this->URLMTime.Modified(); // Force a re-open to occur when Open() is called.
302 }
303}
304
305//------------------------------------------------------------------------------
306bool vtkPostgreSQLDatabase::IsOpen()

Callers 3

OpenMethod · 0.95
SetServerPortMethod · 0.95

Calls 1

ModifiedMethod · 0.45

Tested by

no test coverage detected