|
| Package ()=delete |
|
| Package (const Package &other)=delete |
|
| Package (const Uuid &uuid, const Version &version, const QString &author, const ElementName &name_en_US, const QString &description_en_US, const QString &keywords_en_US, AssemblyType assemblyType) |
|
| ~Package () noexcept |
|
const QList< AlternativeName > & | getAlternativeNames () const noexcept |
|
AssemblyType | getAssemblyType (bool resolveAuto) const noexcept |
|
AssemblyType | guessAssemblyType () const noexcept |
|
PackagePadList & | getPads () noexcept |
|
const PackagePadList & | getPads () const noexcept |
|
PackageModelList & | getModels () noexcept |
|
const PackageModelList & | getModels () const noexcept |
|
QVector< std::shared_ptr< const PackageModel > > | getModelsForFootprint (const Uuid &fpt) const noexcept |
|
FootprintList & | getFootprints () noexcept |
|
const FootprintList & | getFootprints () const noexcept |
|
void | setAssemblyType (AssemblyType type) noexcept |
|
virtual RuleCheckMessageList | runChecks () const override |
|
Package & | operator= (const Package &rhs)=delete |
|
| LibraryElement ()=delete |
|
| LibraryElement (const LibraryElement &other)=delete |
|
| LibraryElement (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) |
|
| LibraryElement (const QString &shortElementName, const QString &longElementName, bool dirnameMustBeUuid, std::unique_ptr< TransactionalDirectory > directory, const SExpression &root) |
|
virtual | ~LibraryElement () noexcept |
|
const QString & | getGeneratedBy () const noexcept |
|
const QSet< Uuid > & | getCategories () const noexcept |
|
const ResourceList & | getResources () const noexcept |
|
void | setGeneratedBy (const QString &gen) noexcept |
|
void | setCategories (const QSet< Uuid > &uuids) noexcept |
|
void | setResources (const ResourceList &resources) noexcept |
|
LibraryElement & | operator= (const LibraryElement &rhs)=delete |
|
| 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 | 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 |
|
virtual void | save () |
|
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 |
|
The Package class represents a package of a component (including footprint and 3D model)
Following information is considered as the "interface" of a package and must therefore never be changed:
- UUID
- Package pads (neither adding nor removing pads is allowed)
- Footprints (adding new footprints is allowed, but removing not)
- UUID
- Footprint pads (neither adding nor removing pads is allowed)