------------------------------------------------------------------------------------------------ Destructor of Importer
| 175 | // ------------------------------------------------------------------------------------------------ |
| 176 | // Destructor of Importer |
| 177 | Importer::~Importer() { |
| 178 | // Delete all import plugins |
| 179 | DeleteImporterInstanceList(pimpl->mImporter); |
| 180 | |
| 181 | // Delete all post-processing plug-ins |
| 182 | for( unsigned int a = 0; a < pimpl->mPostProcessingSteps.size(); ++a ) { |
| 183 | delete pimpl->mPostProcessingSteps[a]; |
| 184 | } |
| 185 | |
| 186 | // Delete the assigned IO and progress handler |
| 187 | delete pimpl->mIOHandler; |
| 188 | delete pimpl->mProgressHandler; |
| 189 | |
| 190 | // Kill imported scene. Destructor's should do that recursively |
| 191 | delete pimpl->mScene; |
| 192 | |
| 193 | // Delete shared post-processing data |
| 194 | delete pimpl->mPPShared; |
| 195 | |
| 196 | // and finally the pimpl itself |
| 197 | delete pimpl; |
| 198 | } |
| 199 | |
| 200 | // ------------------------------------------------------------------------------------------------ |
| 201 | // Register a custom post-processing step |
nothing calls this directly
no test coverage detected