![]() |
LibrePCB Developers Documentation
|
The Organization class represents a PCB manufacturer, assembly house etc. More...
#include <organization.h>
Inheritance diagram for Organization:
Collaboration diagram for Organization:Signals | |
| void | pcbDesignRulesModified () |
Public Member Functions | |
| Organization ()=delete | |
| Organization (const Organization &other)=delete | |
| Organization (const Uuid &uuid, const Version &version, const QString &author, const ElementName &name_en_US, const QString &description_en_US, const QString &keywords_en_US) | |
| ~Organization () noexcept | |
| const QByteArray & | getLogoPng () const noexcept |
| QPixmap | getLogoPixmap () const noexcept |
| const QUrl & | getUrl () const noexcept |
| const QString & | getCountry () const noexcept |
| const QStringList & | getFabs () const noexcept |
| const QStringList & | getShipping () const noexcept |
| bool | isSponsor () const noexcept |
| int | getPriority () const noexcept |
| const QVector< OrganizationPcbDesignRules > & | getPcbDesignRules () const noexcept |
| const OrganizationPcbDesignRules * | findPcbDesignRules (const Uuid &uuid) const noexcept |
| const OutputJobList & | getPcbOutputJobs () const noexcept |
| std::shared_ptr< const OutputJob > | findPcbOutputJob (const QString &type) const noexcept |
| const OutputJobList & | getAssemblyOutputJobs () const noexcept |
| const OutputJobList & | getUserOutputJobs () const noexcept |
| void | setLogoPng (const QByteArray &png) noexcept |
| void | setUrl (const QUrl &url) noexcept |
| void | setCountry (const QString &country) noexcept |
| void | setFabs (const QStringList &list) noexcept |
| void | setShipping (const QStringList &list) noexcept |
| void | setIsSponsor (bool sponsor) noexcept |
| void | setPriority (int priority) noexcept |
| void | setPcbDesignRules (const QVector< OrganizationPcbDesignRules > &rules) noexcept |
| void | setPcbOutputJobs (const OutputJobList &jobs) noexcept |
| void | setAssemblyOutputJobs (const OutputJobList &jobs) noexcept |
| void | setUserOutputJobs (const OutputJobList &jobs) noexcept |
| virtual RuleCheckMessageList | runChecks () const override |
| virtual void | save () override |
| Organization & | operator= (const Organization &rhs)=delete |
Public Member Functions inherited from LibraryBaseElement | |
| LibraryBaseElement ()=delete | |
| LibraryBaseElement (const LibraryBaseElement &other)=delete | |
| LibraryBaseElement (const QString &shortElementName, const QString &longElementName, const Uuid &uuid, const Version &version, const QString &author, const ElementName &name_en_US, const QString &description_en_US, const QString &keywords_en_US) | |
| LibraryBaseElement (const QString &shortElementName, const QString &longElementName, bool dirnameMustBeUuid, std::unique_ptr< TransactionalDirectory > directory, const SExpression &root) | |
| virtual | ~LibraryBaseElement () noexcept |
| const TransactionalDirectory & | getDirectory () const noexcept |
| TransactionalDirectory & | getDirectory () noexcept |
| const Uuid & | getUuid () const noexcept |
| const Version & | getVersion () const noexcept |
| const QString & | getAuthor () const noexcept |
| const QDateTime & | getCreated () const noexcept |
| bool | isDeprecated () const noexcept |
| const LocalizedNameMap & | getNames () const noexcept |
| const LocalizedDescriptionMap & | getDescriptions () const noexcept |
| const LocalizedKeywordsMap & | getKeywords () const noexcept |
| QStringList | getAllAvailableLocales () const noexcept |
| const QSet< SExpression > & | getMessageApprovals () const noexcept |
| void | setVersion (const Version &version) noexcept |
| void | setAuthor (const QString &author) noexcept |
| void | setCreated (const QDateTime &created) noexcept |
| void | setDeprecated (bool deprecated) noexcept |
| void | setNames (const LocalizedNameMap &names) noexcept |
| void | setDescriptions (const LocalizedDescriptionMap &descriptions) noexcept |
| void | setKeywords (const LocalizedKeywordsMap &keywords) noexcept |
| void | setMessageApprovals (const QSet< SExpression > &approvals) noexcept |
| bool | setMessageApproved (const SExpression &approval, bool approved) noexcept |
| virtual void | saveTo (TransactionalDirectory &dest) |
| virtual void | moveTo (TransactionalDirectory &dest) |
| virtual void | saveIntoParentDirectory (TransactionalDirectory &dest) |
| virtual void | moveIntoParentDirectory (TransactionalDirectory &dest) |
| LibraryBaseElement & | operator= (const LibraryBaseElement &rhs)=delete |
Static Public Member Functions | |
| static std::unique_ptr< Organization > | open (std::unique_ptr< TransactionalDirectory > directory, bool abortBeforeMigration=false) |
| static QString | getShortElementName () noexcept |
| static QString | getLongElementName () noexcept |
Static Public Member Functions inherited from LibraryBaseElement | |
| template<typename ElementType > | |
| static bool | isValidElementDirectory (const FilePath &dir) noexcept |
| template<typename ElementType > | |
| static bool | isValidElementDirectory (const TransactionalDirectory &dir, const QString &path) noexcept |
Protected Member Functions | |
| virtual void | serialize (SExpression &root) const override |
| Serialize into librepcb::SExpression node. | |
Protected Member Functions inherited from LibraryBaseElement | |
| void | serializeMessageApprovals (SExpression &root) const |
| void | removeObsoleteMessageApprovals () |
Private Member Functions | |
| Organization (std::unique_ptr< TransactionalDirectory > directory, const SExpression &root) | |
Private Attributes | |
| QByteArray | mLogoPng |
| QUrl | mUrl |
| QString | mCountry |
| QStringList | mFabs |
| QStringList | mShipping |
| bool | mIsSponsor |
| int | mPriority |
| Priority to influence the sort order of organizations. | |
| QVector< OrganizationPcbDesignRules > | mPcbDesignRules |
| OutputJobList | mPcbOutputJobs |
| OutputJobList | mAssemblyOutputJobs |
| OutputJobList | mUserOutputJobs |
| QMap< QString, QList< SExpression > > | mOptions |
Additional Inherited Members | |
Static Protected Member Functions inherited from LibraryBaseElement | |
| static Version | readFileFormat (const TransactionalDirectory &directory, const QString &fileName) |
Protected Attributes inherited from LibraryBaseElement | |
| const QString | mShortElementName |
| e.g. "lib", "cmpcat" | |
| const QString | mLongElementName |
| e.g. "library", "component_category" | |
| std::unique_ptr< TransactionalDirectory > | mDirectory |
| Uuid | mUuid |
| Version | mVersion |
| QString | mAuthor |
| QDateTime | mCreated |
| bool | mIsDeprecated |
| LocalizedNameMap | mNames |
| LocalizedDescriptionMap | mDescriptions |
| LocalizedKeywordsMap | mKeywords |
| QSet< SExpression > | mMessageApprovals |
The Organization class represents a PCB manufacturer, assembly house etc.
|
delete |
Here is the caller graph for this function:
|
delete |
| Organization | ( | const Uuid & | uuid, |
| const Version & | version, | ||
| const QString & | author, | ||
| const ElementName & | name_en_US, | ||
| const QString & | description_en_US, | ||
| const QString & | keywords_en_US | ||
| ) |
|
noexcept |
|
private |
Here is the call graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
overridevirtual |
|
overridevirtual |
|
delete |
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticnoexcept |
Here is the caller graph for this function:
|
inlinestaticnoexcept |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
overrideprotectedvirtual |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Reimplemented from LibraryBaseElement.
Here is the call graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Priority to influence the sort order of organizations.
Convention:
100 for LibrePCB Fab50..99 for user-created organizations1..49 for important organizations (e.g. LibrePCB sponsors)0 for any other organizations (default value)
|
private |
|
private |
|
private |
|
private |
|
private |