![]() |
LibrePCB Developers Documentation
|
Loads and imports an EAGLE project into a librepcb::Project. More...
#include <eagleprojectimport.h>
Inherits QObject.
Collaboration diagram for EagleProjectImport:Classes | |
| struct | ComponentMap |
Public Member Functions | |
| EagleProjectImport (const EagleProjectImport &other)=delete | |
| EagleProjectImport (QObject *parent=nullptr) noexcept | |
| ~EagleProjectImport () noexcept | |
| std::shared_ptr< MessageLogger > | getLogger () const noexcept |
| bool | isReady () const noexcept |
| const QString & | getProjectName () const noexcept |
| int | getSheetCount () const noexcept |
| bool | hasBoard () const noexcept |
| void | reset () noexcept |
| QStringList | open (const FilePath &sch, const FilePath &brd) |
| void | import (Project &project) |
| EagleProjectImport & | operator= (const EagleProjectImport &rhs)=delete |
Private Member Functions | |
| const Symbol & | importLibrarySymbol (EagleLibraryConverter &converter, ProjectLibrary &library, const QString &libName, const QString &libUrn, const QString &symName) |
| const Component & | importLibraryComponent (EagleLibraryConverter &converter, ProjectLibrary &library, const QString &libName, const QString &libUrn, const QString &devSetName) |
| const Package & | importLibraryPackage (EagleLibraryConverter &converter, ProjectLibrary &library, const QString &libName, const QString &libUrn, const QString &pkgName) |
| const Device & | importLibraryDevice (EagleLibraryConverter &converter, ProjectLibrary &library, const QString &devLibName, const QString &devLibUrn, const QString &devSetName, const QString &devName, const QString &pkgLibName, const QString &pkgLibUrn) |
| NetSignal & | importNet (Project &project, const parseagle::Net &net) |
| void | importLibraries (const QList< parseagle::Library > &libs, bool isBoard) |
| void | importSchematic (Project &project, EagleLibraryConverter &converter, const parseagle::Sheet &sheet) |
| void | importBoard (Project &project, EagleLibraryConverter &converter) |
| bool | hasBuses (const parseagle::Schematic &schematic) const noexcept |
| std::optional< BoundedUnsignedRatio > | tryGetDrcRatio (const QString &nr, const QString &nmin, const QString &nmax) const |
| std::shared_ptr< const parseagle::Symbol > | getSymbol (const QString &libName, const QString &libUrn, const QString &name) const |
| std::shared_ptr< const parseagle::Package > | getPackage (const QString &libName, const QString &libUrn, const QString &name) const |
| std::shared_ptr< const parseagle::DeviceSet > | getDeviceSet (const QString &libName, const QString &libUrn, const QString &name) const |
| const parseagle::Device & | getDevice (const parseagle::DeviceSet &devSet, const QString &name) const |
| const parseagle::Technology * | tryGetTechnology (const parseagle::Device &dev, const QString &name) const |
| const parseagle::Part & | getPart (const QString &name) const |
Private Attributes | |
| std::shared_ptr< MessageLogger > | mLogger |
| QString | mProjectName |
| QScopedPointer< parseagle::Schematic > | mSchematic |
| QScopedPointer< parseagle::Board > | mBoard |
| QHash< QStringList, std::shared_ptr< const parseagle::Symbol > > | mSymbols |
| Key={libName, libUrn, symName}. | |
| QHash< QStringList, std::shared_ptr< const parseagle::Package > > | mPackages |
| Key={libName, libUrn, pkgName}. | |
| QHash< QStringList, std::shared_ptr< const parseagle::DeviceSet > > | mDeviceSets |
| Key={libName, libUrn, devSetName}. | |
| QHash< QStringList, Uuid > | mLibSymbolMap |
| Key={libName, libUrn, symName}, Value=libSymUuid. | |
| QHash< QStringList, Uuid > | mLibComponentMap |
| Key={libName, libUrn, deviceSetName}, Value=libCmpUuid. | |
| QHash< QStringList, Uuid > | mLibComponentGateMap |
| Key={libCmpUuid, gateName}, Value=libCmpGateUuid. | |
| QHash< QStringList, Uuid > | mLibPackageMap |
| Key={libName, libUrn, pkgName}, Value=libPkgUuid. | |
| QHash< QStringList, Uuid > | mLibDeviceMap |
| Key={libName, libUrn, devSetname, devName}, Value=libDevUuid. | |
| QHash< QString, ComponentMap > | mComponentMap |
| QSet< QString > | mSchematicDirNames |
| All already imported schematic directory names. | |
| QHash< QString, Uuid > | mNetSignalMap |
| Key=eagleNetName, Value=netSignalUuid. | |
Loads and imports an EAGLE project into a librepcb::Project.
|
delete |
|
explicitnoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
Here is the caller graph for this function:
Here is the call graph for this function:| void import | ( | Project & | project | ) |
Here is the call graph for this function:
|
delete |
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
Key={libName, libUrn, symName}.
|
private |
Key={libName, libUrn, pkgName}.
|
private |
Key={libName, libUrn, devSetName}.
|
private |
Key={libName, libUrn, symName}, Value=libSymUuid.
|
private |
Key={libName, libUrn, deviceSetName}, Value=libCmpUuid.
|
private |
Key={libCmpUuid, gateName}, Value=libCmpGateUuid.
|
private |
Key={libName, libUrn, pkgName}, Value=libPkgUuid.
|
private |
Key={libName, libUrn, devSetname, devName}, Value=libDevUuid.
|
private |
|
private |
All already imported schematic directory names.
|
private |
Key=eagleNetName, Value=netSignalUuid.