20#ifndef LIBREPCB_EAGLEIMPORT_EAGLELIBRARYCONVERTER_H
21#define LIBREPCB_EAGLEIMPORT_EAGLELIBRARYCONVERTER_H
55namespace eagleimport {
92 QObject* parent =
nullptr) noexcept;
97 const QString& libUrn,
98 const QString& devSetName,
99 const QString& gateName,
100 const QString& pinName) const;
103 void reset() noexcept;
105 const QString& libUrn,
109 const QString& libUrn,
113 const QString& libName, const QString& libUrn,
116 const QString& devLibName, const QString& devLibUrn,
117 const
parseagle::DeviceSet& eagleDeviceSet,
The BoundedUnsignedRatio class represents a ratio limited to a range specified by min/max values.
Definition boundedunsignedratio.h:46
The Component class represents a "generic" device in the library.
Definition component.h:73
The Device class represents an instance of a component (a "real" component)
Definition device.h:55
Generic logger class to pass messages between objects.
Definition messagelogger.h:43
The Package class represents a package of a component (including footprint and 3D model)
Definition package.h:59
The Symbol class represents the part of a component which is added to schematics.
Definition symbol.h:55
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The Version class represents a version number in the format "1.42.7".
Definition version.h:58
Converts EAGLE library elements to LibrePCB.
Definition eaglelibraryconverter.h:85
QHash< QStringList, std::optional< Uuid > > mSymbolMap
Definition eaglelibraryconverter.h:134
void reset() noexcept
Definition eaglelibraryconverter.cpp:100
std::unique_ptr< Device > createDevice(const QString &devLibName, const QString &devLibUrn, const parseagle::DeviceSet &eagleDeviceSet, const parseagle::Device &eagleDevice, const QString &pkgLibName, const QString &pkgLibUrn, MessageLogger &log)
Definition eaglelibraryconverter.cpp:436
QHash< QStringList, QMap< QString, std::optional< Uuid > > > mPackagePadMap
Definition eaglelibraryconverter.h:150
EagleLibraryConverter(const EagleLibraryConverter &other)=delete
void tryOrLogError(std::function< void()> func, MessageLogger &log)
Definition eaglelibraryconverter.cpp:500
std::unique_ptr< Component > createComponent(const QString &libName, const QString &libUrn, const parseagle::DeviceSet &eagleDeviceSet, MessageLogger &log)
Definition eaglelibraryconverter.cpp:322
std::unique_ptr< Symbol > createSymbol(const QString &libName, const QString &libUrn, const parseagle::Symbol &eagleSymbol, MessageLogger &log)
Definition eaglelibraryconverter.cpp:109
QHash< QStringList, std::optional< Uuid > > mComponentMap
Definition eaglelibraryconverter.h:154
Uuid getComponentSignalOfSymbolPin(const QString &libName, const QString &libUrn, const QString &devSetName, const QString &gateName, const QString &pinName) const
Definition eaglelibraryconverter.cpp:82
QHash< QStringList, std::optional< Uuid > > mComponentSignalMap
Definition eaglelibraryconverter.h:158
QHash< QStringList, std::optional< Uuid > > mPackageMap
Definition eaglelibraryconverter.h:146
std::unique_ptr< Package > createPackage(const QString &libName, const QString &libUrn, const parseagle::Package &eaglePackage, MessageLogger &log)
Definition eaglelibraryconverter.cpp:220
QHash< QStringList, QMap< QString, std::pair< std::shared_ptr< parseagle::Pin >, std::optional< Uuid > > > > mSymbolPinMap
Definition eaglelibraryconverter.h:142
EagleLibraryConverterSettings mSettings
Definition eaglelibraryconverter.h:128
Definition occmodel.cpp:76
Definition eaglelibraryconverter.h:38
Settings for librepcb::eagleimport::EagleLibraryConverter.
Definition eaglelibraryconverter.h:64
QString namePrefix
Definition eaglelibraryconverter.h:67
QString author
Definition eaglelibraryconverter.h:69
QSet< Uuid > packageCategories
Definition eaglelibraryconverter.h:72
EagleLibraryConverterSettings() noexcept
Definition eaglelibraryconverter.cpp:58
BoundedUnsignedRatio autoThtAnnularWidth
Definition eaglelibraryconverter.h:75
QString keywords
Definition eaglelibraryconverter.h:70
QSet< Uuid > symbolCategories
Definition eaglelibraryconverter.h:71
QSet< Uuid > deviceCategories
Definition eaglelibraryconverter.h:74
Version version
Definition eaglelibraryconverter.h:68
QSet< Uuid > componentCategories
Definition eaglelibraryconverter.h:73