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

Method ~vtkSQLiteDatabase

IO/SQL/vtkSQLiteDatabase.cxx:40–56  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

38
39//------------------------------------------------------------------------------
40vtkSQLiteDatabase::~vtkSQLiteDatabase()
41{
42 if (this->IsOpen())
43 {
44 this->Close();
45 }
46 if (this->DatabaseType)
47 {
48 this->SetDatabaseType(nullptr);
49 }
50 if (this->DatabaseFileName)
51 {
52 this->SetDatabaseFileName(nullptr);
53 }
54 this->Tables->UnRegister(this);
55 delete this->Internal;
56}
57
58//------------------------------------------------------------------------------
59void vtkSQLiteDatabase::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