1 #ifndef PARSEAGLE_LIBRARY_H 2 #define PARSEAGLE_LIBRARY_H 3 4 #include <QtCore> 5 #include "symbol/symbol.h" 6 #include "package/package.h" 7 #include "deviceset/deviceset.h" 8 9 namespace parseagle { 10 11 class Library final 12 { 13 public: 14 15 // Constructors / Destructor 16 Library() = delete; 17 explicit Library(const QString& filepath); 18 ~Library() noexcept; 19 20 // Getters getDescription()21 QString getDescription() const noexcept {return mDescription;} getSymbols()22 const QList<Symbol>& getSymbols() const noexcept {return mSymbols;} getPackages()23 const QList<Package>& getPackages() const noexcept {return mPackages;} getDeviceSets()24 const QList<DeviceSet>& getDeviceSets() const noexcept {return mDeviceSets;} 25 26 27 private: 28 QString mDescription; 29 QList<Symbol> mSymbols; 30 QList<Package> mPackages; 31 QList<DeviceSet> mDeviceSets; 32 }; 33 34 } // namespace parseagle 35 36 #endif // PARSEAGLE_LIBRARY_H 37