LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( )
delete
ConverterDb ( const ConverterDb other)
delete
ConverterDb ( const FilePath ini)
noexcept
~ConverterDb ( )
noexcept

Member Function Documentation

void setCurrentLibraryFilePath ( const FilePath fp)
inlinenoexcept

+ Here is the caller graph for this function:

const FilePath& getCurrentLibraryFilePath ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

Uuid getSymbolUuid ( const QString &  symbolName)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Uuid getSymbolPinUuid ( const Uuid symbolUuid,
const QString &  pinName 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Uuid getFootprintUuid ( const QString &  packageName)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Uuid getPackageUuid ( const QString &  packageName)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Uuid getPackagePadUuid ( const Uuid footprintUuid,
const QString &  padName 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Uuid getComponentUuid ( const QString &  deviceSetName)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

Uuid getSymbolVariantUuid ( const Uuid componentUuid)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Uuid getSymbolVariantItemUuid ( const Uuid componentUuid,
const QString &  gateName 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Uuid getDeviceUuid ( const QString &  deviceSetName,
const QString &  deviceName 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ConverterDb& operator= ( const ConverterDb rhs)
delete
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

QSettings mIniFile
private
FilePath mLibFilePath
private

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