LibrePCB Developers Documentation
|
Migration to upgrade a previous unstable file format. More...
#include <fileformatmigrationunstable.h>
Private Member Functions | |
virtual void | createOutputJobs (TransactionalDirectory &dir) override |
virtual void | upgradeSettings (SExpression &root) override |
virtual void | upgradeCircuit (SExpression &root, ProjectContext &context) override |
virtual void | upgradeErc (SExpression &root, ProjectContext &context) override |
virtual void | upgradeSchematic (SExpression &root, ProjectContext &context) override |
virtual void | upgradeBoard (SExpression &root, ProjectContext &context) override |
virtual void | upgradeBoardUserSettings (SExpression &root) override |
virtual void | upgradeBoardDrcSettings (SExpression &root) override |
Additional Inherited Members | |
Static Public Member Functions inherited from FileFormatMigration | |
static QList< std::shared_ptr< FileFormatMigration > > | getMigrations (const Version &fileFormat) |
Protected Member Functions inherited from FileFormatMigrationV01 | |
virtual void | createOutputJobs (TransactionalDirectory &dir) |
virtual void | upgradeMetadata (SExpression &root) |
virtual void | upgradeSettings (SExpression &root) |
virtual void | upgradeCircuit (SExpression &root, ProjectContext &context) |
virtual void | upgradeErc (SExpression &root, ProjectContext &context) |
virtual void | upgradeSchematic (SExpression &root, ProjectContext &context) |
virtual void | upgradeBoard (SExpression &root, ProjectContext &context) |
virtual void | upgradeBoardUserSettings (SExpression &root) |
virtual void | upgradeBoardDesignRules (SExpression &root) |
virtual void | upgradeBoardDrcSettings (SExpression &root) |
virtual void | upgradeGrid (SExpression &node) |
virtual void | upgradeCutouts (SExpression &node, ProjectContext *context) |
virtual void | upgradeHoles (SExpression &node, bool isBoardHole) |
virtual void | upgradeLayers (SExpression &node) |
virtual void | upgradeInversionCharacters (SExpression &root, const QString &childName, const QString &valuePath) |
virtual void | upgradeStrings (SExpression &root) |
virtual void | replaceStrings (SExpression &root, const QMap< QString, QString > &replacements) |
Protected Member Functions inherited from FileFormatMigration | |
Message | buildMessage (Message::Severity severity, const QString &message, int affectedItems=-1) const noexcept |
void | upgradeVersionFile (TransactionalDirectory &dir, const QString &fileName) |
Static Protected Member Functions inherited from FileFormatMigrationV01 | |
static QString | toFileProofName (const QString &name, const QString &fallback) noexcept |
Protected Attributes inherited from FileFormatMigration | |
Version | mFromVersion |
Version | mToVersion |
Migration to upgrade a previous unstable file format.
This class overrides the stable file format migration class to perform only a partial upgrade. This allows to upgrade file from the previous unstable file format (master branch) to the latest unstable file format (feature branch). This upgrade is only performed when the environment variable LIBREPCB_UPGRADE_UNSTABLE=1
is set.
|
explicitnoexcept |
|
delete |
|
noexcept |
|
overridevirtual |
Reimplemented from FileFormatMigrationV01.
|
overridevirtual |
Reimplemented from FileFormatMigrationV01.
|
overridevirtual |
Reimplemented from FileFormatMigrationV01.
|
overridevirtual |
Reimplemented from FileFormatMigrationV01.
|
overridevirtual |
Reimplemented from FileFormatMigrationV01.
|
overridevirtual |
Reimplemented from FileFormatMigrationV01.
|
overridevirtual |
Reimplemented from FileFormatMigrationV01.
|
overridevirtual |
Reimplemented from FileFormatMigrationV01.
|
delete |
|
overrideprivatevirtual |
Reimplemented from FileFormatMigrationV01.
|
overrideprivatevirtual |
Reimplemented from FileFormatMigrationV01.
|
overrideprivatevirtual |
Reimplemented from FileFormatMigrationV01.
|
overrideprivatevirtual |
Reimplemented from FileFormatMigrationV01.
|
overrideprivatevirtual |
Reimplemented from FileFormatMigrationV01.
|
overrideprivatevirtual |
Reimplemented from FileFormatMigrationV01.
|
overrideprivatevirtual |
Reimplemented from FileFormatMigrationV01.
|
overrideprivatevirtual |
Reimplemented from FileFormatMigrationV01.