LibrePCB Developers Documentation
|
Converts EAGLE library elements to LibrePCB. More...
#include <eaglelibraryconverter.h>
Inherits QObject.
Public Member Functions | |
EagleLibraryConverter (const EagleLibraryConverter &other)=delete | |
EagleLibraryConverter (const EagleLibraryConverterSettings &settings, QObject *parent=nullptr) noexcept | |
~EagleLibraryConverter () noexcept | |
Uuid | getComponentSignalOfSymbolPin (const QString &libName, const QString &libUrn, const QString &devSetName, const QString &gateName, const QString &pinName) const |
void | reset () noexcept |
std::unique_ptr< Symbol > | createSymbol (const QString &libName, const QString &libUrn, const parseagle::Symbol &eagleSymbol, MessageLogger &log) |
std::unique_ptr< Package > | createPackage (const QString &libName, const QString &libUrn, const parseagle::Package &eaglePackage, MessageLogger &log) |
std::unique_ptr< Component > | createComponent (const QString &libName, const QString &libUrn, const parseagle::DeviceSet &eagleDeviceSet, MessageLogger &log) |
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) |
EagleLibraryConverter & | operator= (const EagleLibraryConverter &rhs)=delete |
Private Member Functions | |
void | tryOrLogError (std::function< void()> func, MessageLogger &log) |
Private Attributes | |
EagleLibraryConverterSettings | mSettings |
QHash< QStringList, tl::optional< Uuid > > | mSymbolMap |
QHash< QStringList, QMap< QString, std::pair< std::shared_ptr< parseagle::Pin >, tl::optional< Uuid > > > > | mSymbolPinMap |
QHash< QStringList, tl::optional< Uuid > > | mPackageMap |
QHash< QStringList, QMap< QString, tl::optional< Uuid > > > | mPackagePadMap |
QHash< QStringList, tl::optional< Uuid > > | mComponentMap |
QHash< QStringList, tl::optional< Uuid > > | mComponentSignalMap |
Converts EAGLE library elements to LibrePCB.
|
delete |
|
explicitnoexcept |
|
noexcept |
Uuid getComponentSignalOfSymbolPin | ( | const QString & | libName, |
const QString & | libUrn, | ||
const QString & | devSetName, | ||
const QString & | gateName, | ||
const QString & | pinName | ||
) | const |
|
noexcept |
std::unique_ptr< Symbol > createSymbol | ( | const QString & | libName, |
const QString & | libUrn, | ||
const parseagle::Symbol & | eagleSymbol, | ||
MessageLogger & | log | ||
) |
std::unique_ptr< Package > createPackage | ( | const QString & | libName, |
const QString & | libUrn, | ||
const parseagle::Package & | eaglePackage, | ||
MessageLogger & | log | ||
) |
std::unique_ptr< Component > createComponent | ( | const QString & | libName, |
const QString & | libUrn, | ||
const parseagle::DeviceSet & | eagleDeviceSet, | ||
MessageLogger & | log | ||
) |
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 | ||
) |
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |