|
| | Component ()=delete |
| |
| | Component (const Component &other)=delete |
| |
| | Component (const Uuid &uuid, const Version &version, const QString &author, const ElementName &name_en_US, const QString &description_en_US, const QString &keywords_en_US) |
| |
| | ~Component () noexcept |
| |
| bool | isSchematicOnly () const noexcept |
| |
| void | setIsSchematicOnly (bool schematicOnly) noexcept |
| |
| AttributeList & | getAttributes () noexcept |
| |
| const AttributeList & | getAttributes () const noexcept |
| |
| const QString & | getDefaultValue () const noexcept |
| |
| void | setDefaultValue (const QString &value) noexcept |
| |
| const NormDependentPrefixMap & | getPrefixes () const noexcept |
| |
| void | setPrefixes (const NormDependentPrefixMap &prefixes) noexcept |
| |
| ComponentSignalList & | getSignals () noexcept |
| |
| const ComponentSignalList & | getSignals () const noexcept |
| |
| ComponentSymbolVariantList & | getSymbolVariants () noexcept |
| |
| const ComponentSymbolVariantList & | getSymbolVariants () const noexcept |
| |
| std::shared_ptr< ComponentSignal > | getSignalOfPin (const Uuid &symbVar, const Uuid &item, const Uuid &pin) |
| |
| std::shared_ptr< const ComponentSignal > | getSignalOfPin (const Uuid &symbVar, const Uuid &item, const Uuid &pin) const |
| |
| int | getSymbolVariantIndexByNorm (const QStringList &normOrder) const noexcept |
| |
| std::shared_ptr< ComponentSymbolVariantItem > | getSymbVarItem (const Uuid &symbVar, const Uuid &item) |
| |
| std::shared_ptr< const ComponentSymbolVariantItem > | getSymbVarItem (const Uuid &symbVar, const Uuid &item) const |
| |
| virtual RuleCheckMessageList | runChecks () const override |
| |
| Component & | operator= (const Component &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 |
| |
| bool | setMessageApproved (const SExpression &approval, bool approved) 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 Component class represents a "generic" device in the library.
Following information is considered as the "interface" of a component and must therefore never be changed:
- UUID
- Property "is schematic only"
- All signal UUIDs (and their meaning)
- Symbol variants (adding new variants is allowed, but removing not)
- UUID
- Symbol items (neither adding nor removing items is allowed)
- UUID
- Symbol UUID
- Pin-signal-mapping