LibrePCB Developers Documentation
ConverterDb Class Referencefinal

The ConverterDb class. More...

#include <converterdb.h>

+ Collaboration diagram for ConverterDb:

Public Member Functions

 ConverterDb ()=delete
 
 ConverterDb (const ConverterDb &other)=delete
 
 ConverterDb (const FilePath &ini) noexcept
 
 ~ConverterDb () noexcept
 
void setCurrentLibraryFilePath (const FilePath &fp) noexcept
 
const FilePathgetCurrentLibraryFilePath () const noexcept
 
Uuid getSymbolUuid (const QString &symbolName)
 
Uuid getSymbolPinUuid (const Uuid &symbolUuid, const QString &pinName)
 
Uuid getFootprintUuid (const QString &packageName)
 
Uuid getPackageUuid (const QString &packageName)
 
Uuid getPackagePadUuid (const Uuid &footprintUuid, const QString &padName)
 
Uuid getComponentUuid (const QString &deviceSetName)
 
Uuid getComponentSignalUuid (const Uuid &componentUuid, const QString &gateName, const QString &pinName)
 
Uuid getSymbolVariantUuid (const Uuid &componentUuid)
 
Uuid getSymbolVariantItemUuid (const Uuid &componentUuid, const QString &gateName)
 
Uuid getDeviceUuid (const QString &deviceSetName, const QString &deviceName)
 
ConverterDboperator= (const ConverterDb &rhs)=delete
 

Private Member Functions

Uuid getOrCreateUuid (const QString &cat, const QString &key1, const QString &key2=QString())
 

Private Attributes

QSettings mIniFile
 
FilePath mLibFilePath
 

Detailed Description

The ConverterDb class.

Constructor & Destructor Documentation

◆ ConverterDb() [1/3]

ConverterDb ( )
delete

◆ ConverterDb() [2/3]

ConverterDb ( const ConverterDb other)
delete

◆ ConverterDb() [3/3]

ConverterDb ( const FilePath ini)
noexcept

◆ ~ConverterDb()

~ConverterDb ( )
noexcept

Member Function Documentation

◆ setCurrentLibraryFilePath()

void setCurrentLibraryFilePath ( const FilePath fp)
inlinenoexcept
+ Here is the caller graph for this function:

◆ getCurrentLibraryFilePath()

const FilePath& getCurrentLibraryFilePath ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSymbolUuid()

Uuid getSymbolUuid ( const QString &  symbolName)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSymbolPinUuid()

Uuid getSymbolPinUuid ( const Uuid symbolUuid,
const QString &  pinName 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFootprintUuid()

Uuid getFootprintUuid ( const QString &  packageName)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPackageUuid()

Uuid getPackageUuid ( const QString &  packageName)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPackagePadUuid()

Uuid getPackagePadUuid ( const Uuid footprintUuid,
const QString &  padName 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getComponentUuid()

Uuid getComponentUuid ( const QString &  deviceSetName)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getComponentSignalUuid()

Uuid getComponentSignalUuid ( const Uuid componentUuid,
const QString &  gateName,
const QString &  pinName 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSymbolVariantUuid()

Uuid getSymbolVariantUuid ( const Uuid componentUuid)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSymbolVariantItemUuid()

Uuid getSymbolVariantItemUuid ( const Uuid componentUuid,
const QString &  gateName 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDeviceUuid()

Uuid getDeviceUuid ( const QString &  deviceSetName,
const QString &  deviceName 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

ConverterDb& operator= ( const ConverterDb rhs)
delete
+ Here is the caller graph for this function:

◆ getOrCreateUuid()

Uuid getOrCreateUuid ( const QString &  cat,
const QString &  key1,
const QString &  key2 = QString() 
)
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mIniFile

QSettings mIniFile
private

◆ mLibFilePath

FilePath mLibFilePath
private

The documentation for this class was generated from the following files: