The LibraryBaseElement class.
More...
#include <librarybaseelement.h>
|
| | 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 RuleCheckMessageList | runChecks () const |
| |
| 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 |
| |
◆ LibraryBaseElement() [1/4]
◆ LibraryBaseElement() [2/4]
◆ LibraryBaseElement() [3/4]
| 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() [4/4]
◆ ~LibraryBaseElement()
◆ getDirectory() [1/2]
◆ getDirectory() [2/2]
◆ getUuid()
| const Uuid & getUuid |
( |
| ) |
const |
|
inlinenoexcept |
◆ getVersion()
| const Version & getVersion |
( |
| ) |
const |
|
inlinenoexcept |
◆ getAuthor()
| const QString & getAuthor |
( |
| ) |
const |
|
inlinenoexcept |
◆ getCreated()
| const QDateTime & getCreated |
( |
| ) |
const |
|
inlinenoexcept |
◆ isDeprecated()
| bool isDeprecated |
( |
| ) |
const |
|
inlinenoexcept |
◆ getNames()
◆ getDescriptions()
◆ getKeywords()
◆ getAllAvailableLocales()
| QStringList getAllAvailableLocales |
( |
| ) |
const |
|
noexcept |
◆ getMessageApprovals()
| const QSet< SExpression > & getMessageApprovals |
( |
| ) |
const |
|
inlinenoexcept |
◆ setVersion()
| void setVersion |
( |
const Version & |
version | ) |
|
|
inlinenoexcept |
◆ setAuthor()
| void setAuthor |
( |
const QString & |
author | ) |
|
|
inlinenoexcept |
◆ setDeprecated()
| void setDeprecated |
( |
bool |
deprecated | ) |
|
|
inlinenoexcept |
◆ setNames()
◆ setDescriptions()
◆ setKeywords()
◆ setMessageApprovals()
| void setMessageApprovals |
( |
const QSet< SExpression > & |
approvals | ) |
|
|
inlinenoexcept |
◆ setMessageApproved()
| bool setMessageApproved |
( |
const SExpression & |
approval, |
|
|
bool |
approved |
|
) |
| |
|
noexcept |
◆ runChecks()
◆ save()
◆ saveTo()
◆ moveTo()
◆ saveIntoParentDirectory()
◆ moveIntoParentDirectory()
◆ operator=()
◆ isValidElementDirectory() [1/2]
template<typename ElementType >
| static bool isValidElementDirectory |
( |
const FilePath & |
dir | ) |
|
|
inlinestaticnoexcept |
◆ isValidElementDirectory() [2/2]
template<typename ElementType >
◆ serialize()
◆ serializeMessageApprovals()
| void serializeMessageApprovals |
( |
SExpression & |
root | ) |
const |
|
protected |
◆ removeObsoleteMessageApprovals()
| void removeObsoleteMessageApprovals |
( |
| ) |
|
|
protected |
◆ readFileFormat()
◆ mShortElementName
| const QString mShortElementName |
|
protected |
◆ mLongElementName
| const QString mLongElementName |
|
protected |
e.g. "library", "component_category"
◆ mDirectory
◆ mUuid
◆ mVersion
◆ mAuthor
◆ mCreated
◆ mIsDeprecated
◆ mNames
◆ mDescriptions
◆ mKeywords
◆ mMessageApprovals
The documentation for this class was generated from the following files: