Refactoring: Code cleanup post-processing.

This commit is contained in:
Kim Kulling
2023-03-14 23:32:03 +01:00
parent 1147f0c8bd
commit 31ae9cde1c
29 changed files with 93 additions and 149 deletions

View File

@@ -69,8 +69,7 @@ namespace Assimp {
/** Validates the whole ASSIMP scene data structure for correctness.
* ImportErrorException is thrown of the scene is corrupt.*/
// --------------------------------------------------------------------------------------
class ValidateDSProcess : public BaseProcess
{
class ValidateDSProcess : public BaseProcess {
public:
// -------------------------------------------------------------------
/// The default class constructor / destructor.
@@ -78,13 +77,12 @@ public:
~ValidateDSProcess() override = default;
// -------------------------------------------------------------------
bool IsActive( unsigned int pFlags) const;
bool IsActive( unsigned int pFlags) const override;
// -------------------------------------------------------------------
void Execute( aiScene* pScene);
void Execute( aiScene* pScene) override;
protected:
// -------------------------------------------------------------------
/** Report a validation error. This will throw an exception,
* control won't return.