Tidied structure of all classes within the entire code base

Also some other small bits of tidying
This commit is contained in:
Nav
2021-10-06 21:12:31 +01:00
parent 1aef5bba79
commit 6edfb7376a
179 changed files with 3446 additions and 3493 deletions

View File

@@ -4,12 +4,20 @@
#include <iomanip>
#include "../../Target.hpp"
#include "TargetSignature.hpp"
namespace Bloom::Targets::Microchip::Avr
{
class Target: public ::Bloom::Targets::Target
{
public:
explicit Target() = default;
std::string getHumanReadableId() override {
return this->getId().toHex();
}
protected:
std::optional<TargetSignature> id;
@@ -18,12 +26,5 @@ namespace Bloom::Targets::Microchip::Avr
}
virtual TargetSignature getId() = 0;
public:
explicit Target() = default;
std::string getHumanReadableId() override {
return this->getId().toHex();
}
};
}