Tidied structure of all classes within the entire code base
Also some other small bits of tidying
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
using namespace Bloom::Targets::TargetDescription;
|
||||
using namespace Bloom::Exceptions;
|
||||
|
||||
std::string TargetDescriptionFile::getTargetName() const {
|
||||
return this->deviceElement.attributes().namedItem("name").nodeValue().toStdString();
|
||||
}
|
||||
|
||||
void TargetDescriptionFile::init(const QString& xmlFilePath) {
|
||||
auto file = QFile(xmlFilePath);
|
||||
if (!file.exists()) {
|
||||
@@ -45,10 +49,6 @@ void TargetDescriptionFile::init(const QDomDocument& xml) {
|
||||
this->loadInterfaces();
|
||||
}
|
||||
|
||||
std::string TargetDescriptionFile::getTargetName() const {
|
||||
return this->deviceElement.attributes().namedItem("name").nodeValue().toStdString();
|
||||
}
|
||||
|
||||
AddressSpace TargetDescriptionFile::generateAddressSpaceFromXml(const QDomElement& xmlElement) {
|
||||
if (
|
||||
!xmlElement.hasAttribute("id")
|
||||
|
||||
Reference in New Issue
Block a user