LibrePCB Developers Documentation
Loading...
Searching...
No Matches
CopyOutputJob Class Referencefinal

File copy output job. More...

#include <copyoutputjob.h>

+ Inheritance diagram for CopyOutputJob:
+ Collaboration diagram for CopyOutputJob:

Public Types

using BoardSet = ObjectSet< std::optional< Uuid > >
 
using AssemblyVariantSet = ObjectSet< std::optional< Uuid > >
 
- Public Types inherited from OutputJob
enum class  Event
 
typedef Slot< OutputJob, EventOnEditedSlot
 

Public Member Functions

 CopyOutputJob () noexcept
 
 CopyOutputJob (const CopyOutputJob &other) noexcept
 
 CopyOutputJob (const SExpression &node)
 
virtual ~CopyOutputJob () noexcept
 
virtual QString getTypeTr () const noexcept override
 
virtual QIcon getTypeIcon () const noexcept override
 
bool getSubstituteVariables () const noexcept
 
const BoardSetgetBoards () const noexcept
 
const AssemblyVariantSetgetAssemblyVariants () const noexcept
 
const QString & getInputPath () const noexcept
 
const QString & getOutputPath () const noexcept
 
void setSubstituteVariables (bool subst) noexcept
 
void setBoards (const BoardSet &boards) noexcept
 
void setAssemblyVariants (const AssemblyVariantSet &avs) noexcept
 
void setInputPath (const QString &path) noexcept
 
void setOutputPath (const QString &path) noexcept
 
virtual std::shared_ptr< OutputJobcloneShared () const noexcept override
 
CopyOutputJoboperator= (const CopyOutputJob &rhs)=delete
 
- Public Member Functions inherited from OutputJob
 OutputJob ()=delete
 
virtual ~OutputJob () noexcept
 
const QString & getType () const noexcept
 
const UuidgetUuid () const noexcept
 
const ElementNamegetName () const noexcept
 
virtual QSet< UuidgetDependencies () const noexcept
 
void setUuid (const Uuid &uuid) noexcept
 
void setName (const ElementName &name) noexcept
 
virtual void removeDependency (const Uuid &jobUuid)
 
virtual void serialize (SExpression &root) const
 Serialize into librepcb::SExpression node.
 
bool operator== (const OutputJob &rhs) const noexcept
 
bool operator!= (const OutputJob &rhs) const noexcept
 
OutputJoboperator= (const OutputJob &rhs)=delete
 

Static Public Member Functions

static QString getTypeName () noexcept
 
static QString getTypeTrStatic () noexcept
 

Private Member Functions

virtual void serializeDerived (SExpression &root) const override
 
virtual bool equals (const OutputJob &rhs) const noexcept override
 

Private Attributes

bool mSubstituteVariables
 
BoardSet mBoards
 
AssemblyVariantSet mAssemblyVariants
 
QString mInputPath
 
QString mOutputPath
 

Additional Inherited Members

- Public Attributes inherited from OutputJob
Signal< OutputJob, EventonEdited
 
- Protected Member Functions inherited from OutputJob
 OutputJob (const OutputJob &other) noexcept
 
 OutputJob (const SExpression &node)
 
 OutputJob (const QString &type, const Uuid &uuid, const ElementName &name) noexcept
 
- Protected Attributes inherited from OutputJob
const QString mType
 
Uuid mUuid
 
ElementName mName
 
QMap< QString, QList< SExpression > > mOptions
 

Detailed Description

File copy output job.

Member Typedef Documentation

◆ BoardSet

using BoardSet = ObjectSet<std::optional<Uuid> >

◆ AssemblyVariantSet

using AssemblyVariantSet = ObjectSet<std::optional<Uuid> >

Constructor & Destructor Documentation

◆ CopyOutputJob() [1/3]

CopyOutputJob ( )
noexcept

◆ CopyOutputJob() [2/3]

CopyOutputJob ( const CopyOutputJob other)
noexcept

◆ CopyOutputJob() [3/3]

CopyOutputJob ( const SExpression node)
explicit

◆ ~CopyOutputJob()

~CopyOutputJob ( )
virtualnoexcept

Member Function Documentation

◆ getTypeTr()

QString getTypeTr ( ) const
overridevirtualnoexcept

Implements OutputJob.

+ Here is the call graph for this function:

◆ getTypeIcon()

QIcon getTypeIcon ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ getSubstituteVariables()

bool getSubstituteVariables ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getBoards()

const BoardSet & getBoards ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getAssemblyVariants()

const AssemblyVariantSet & getAssemblyVariants ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getInputPath()

const QString & getInputPath ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getOutputPath()

const QString & getOutputPath ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ setSubstituteVariables()

void setSubstituteVariables ( bool  subst)
noexcept

◆ setBoards()

void setBoards ( const BoardSet boards)
noexcept

◆ setAssemblyVariants()

void setAssemblyVariants ( const AssemblyVariantSet avs)
noexcept

◆ setInputPath()

void setInputPath ( const QString &  path)
noexcept

◆ setOutputPath()

void setOutputPath ( const QString &  path)
noexcept

◆ getTypeName()

static QString getTypeName ( )
inlinestaticnoexcept
+ Here is the caller graph for this function:

◆ getTypeTrStatic()

static QString getTypeTrStatic ( )
inlinestaticnoexcept
+ Here is the caller graph for this function:

◆ cloneShared()

std::shared_ptr< OutputJob > cloneShared ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ operator=()

CopyOutputJob & operator= ( const CopyOutputJob rhs)
delete

◆ serializeDerived()

void serializeDerived ( SExpression root) const
overrideprivatevirtual

Implements OutputJob.

+ Here is the call graph for this function:

◆ equals()

bool equals ( const OutputJob rhs) const
overrideprivatevirtualnoexcept

Implements OutputJob.

Member Data Documentation

◆ mSubstituteVariables

bool mSubstituteVariables
private

◆ mBoards

BoardSet mBoards
private

◆ mAssemblyVariants

AssemblyVariantSet mAssemblyVariants
private

◆ mInputPath

QString mInputPath
private

◆ mOutputPath

QString mOutputPath
private

The documentation for this class was generated from the following files: