![]() |
LibrePCB Developers Documentation
|
Cache for fast access to library elements. More...
#include <libraryelementcache.h>
Collaboration diagram for LibraryElementCache:Public Member Functions | |
| LibraryElementCache ()=delete | |
| LibraryElementCache (const LibraryElementCache &other)=delete | |
| LibraryElementCache (const WorkspaceLibraryDb &db) noexcept | |
| ~LibraryElementCache () noexcept | |
| std::shared_ptr< const ComponentCategory > | getComponentCategory (const Uuid &uuid) const noexcept |
| std::shared_ptr< const PackageCategory > | getPackageCategory (const Uuid &uuid) const noexcept |
| std::shared_ptr< const Symbol > | getSymbol (const Uuid &uuid) const noexcept |
| std::shared_ptr< const Package > | getPackage (const Uuid &uuid) const noexcept |
| std::shared_ptr< const Component > | getComponent (const Uuid &uuid) const noexcept |
| std::shared_ptr< const Device > | getDevice (const Uuid &uuid) const noexcept |
| LibraryElementCache & | operator= (const LibraryElementCache &rhs)=delete |
Private Member Functions | |
| template<typename T > | |
| std::shared_ptr< const T > | getElement (QHash< Uuid, std::shared_ptr< const T > > &container, const Uuid &uuid) const noexcept |
Private Attributes | |
| QPointer< const WorkspaceLibraryDb > | mDb |
| QHash< Uuid, std::shared_ptr< const ComponentCategory > > | mCmpCat |
| QHash< Uuid, std::shared_ptr< const PackageCategory > > | mPkgCat |
| QHash< Uuid, std::shared_ptr< const Symbol > > | mSym |
| QHash< Uuid, std::shared_ptr< const Package > > | mPkg |
| QHash< Uuid, std::shared_ptr< const Component > > | mCmp |
| QHash< Uuid, std::shared_ptr< const Device > > | mDev |
Cache for fast access to library elements.
|
delete |
|
delete |
|
explicitnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
delete |
|
privatenoexcept |
Here is the call graph for this function:
|
private |
|
mutableprivate |
|
mutableprivate |