![]() |
LibrePCB Developers Documentation
|
The ProjectLibrary class. More...
#include <projectlibrary.h>
Inherits QObject.
Collaboration diagram for ProjectLibrary:Public Member Functions | |
| ProjectLibrary ()=delete | |
| ProjectLibrary (const ProjectLibrary &other)=delete | |
| ProjectLibrary (std::unique_ptr< TransactionalDirectory > directory) | |
| ~ProjectLibrary () noexcept | |
| TransactionalDirectory & | getDirectory () const |
| const QHash< Uuid, Symbol * > & | getSymbols () const noexcept |
| const QHash< Uuid, Package * > & | getPackages () const noexcept |
| const QHash< Uuid, Component * > & | getComponents () const noexcept |
| const QHash< Uuid, Device * > & | getDevices () const noexcept |
| Symbol * | getSymbol (const Uuid &uuid) const noexcept |
| Package * | getPackage (const Uuid &uuid) const noexcept |
| Component * | getComponent (const Uuid &uuid) const noexcept |
| Device * | getDevice (const Uuid &uuid) const noexcept |
| QHash< Uuid, Device * > | getDevicesOfComponent (const Uuid &compUuid) const noexcept |
| void | addSymbol (Symbol &s) |
| void | addPackage (Package &p) |
| void | addComponent (Component &c) |
| void | addDevice (Device &d) |
| void | removeSymbol (Symbol &s) |
| void | removePackage (Package &p) |
| void | removeComponent (Component &c) |
| void | removeDevice (Device &d) |
| ProjectLibrary & | operator= (const ProjectLibrary &rhs)=delete |
Private Member Functions | |
| template<typename ElementType > | |
| void | addElement (ElementType &element, QHash< Uuid, ElementType * > &elementList) |
| template<typename ElementType > | |
| void | removeElement (ElementType &element, QHash< Uuid, ElementType * > &elementList) |
Private Attributes | |
| std::unique_ptr< TransactionalDirectory > | mDirectory |
| QHash< Uuid, Symbol * > | mSymbols |
| QHash< Uuid, Package * > | mPackages |
| QHash< Uuid, Component * > | mComponents |
| QHash< Uuid, Device * > | mDevices |
| QSet< LibraryBaseElement * > | mAllElements |
The ProjectLibrary class.
|
delete |
|
delete |
| ProjectLibrary | ( | std::unique_ptr< TransactionalDirectory > | directory | ) |
|
noexcept |
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:| void addSymbol | ( | Symbol & | s | ) |
Here is the caller graph for this function:| void addPackage | ( | Package & | p | ) |
Here is the caller graph for this function:| void addComponent | ( | Component & | c | ) |
Here is the caller graph for this function:| void addDevice | ( | Device & | d | ) |
Here is the caller graph for this function:| void removeSymbol | ( | Symbol & | s | ) |
| void removePackage | ( | Package & | p | ) |
| void removeComponent | ( | Component & | c | ) |
| void removeDevice | ( | Device & | d | ) |
|
delete |
|
private |
|
private |
|
private |
|
private |