------------------------------------------------------------------------------
| 38 | |
| 39 | //------------------------------------------------------------------------------ |
| 40 | vtkSQLiteDatabase::~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 | //------------------------------------------------------------------------------ |
| 59 | void vtkSQLiteDatabase::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected