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

JSON project data output job. More...

#include <projectjsonoutputjob.h>

+ Inheritance diagram for ProjectJsonOutputJob:
+ Collaboration diagram for ProjectJsonOutputJob:

Public Member Functions

 ProjectJsonOutputJob () noexcept
 
 ProjectJsonOutputJob (const ProjectJsonOutputJob &other) noexcept
 
 ProjectJsonOutputJob (const SExpression &node)
 
virtual ~ProjectJsonOutputJob () noexcept
 
virtual QString getTypeTr () const noexcept override
 
virtual QIcon getTypeIcon () const noexcept override
 
const QString & getOutputPath () const noexcept
 
void setOutputPath (const QString &path) noexcept
 
virtual std::shared_ptr< OutputJobcloneShared () const noexcept override
 
ProjectJsonOutputJoboperator= (const ProjectJsonOutputJob &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

QString mOutputPath
 

Additional Inherited Members

- Public Types inherited from OutputJob
enum class  Event
 
typedef Slot< OutputJob, EventOnEditedSlot
 
- 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

JSON project data output job.

Constructor & Destructor Documentation

◆ ProjectJsonOutputJob() [1/3]

ProjectJsonOutputJob ( )
noexcept

◆ ProjectJsonOutputJob() [2/3]

ProjectJsonOutputJob ( const ProjectJsonOutputJob other)
noexcept

◆ ProjectJsonOutputJob() [3/3]

ProjectJsonOutputJob ( const SExpression node)
explicit

◆ ~ProjectJsonOutputJob()

~ProjectJsonOutputJob ( )
virtualnoexcept

Member Function Documentation

◆ getTypeTr()

QString getTypeTr ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ getTypeIcon()

QIcon getTypeIcon ( ) const
overridevirtualnoexcept

Implements OutputJob.

◆ getOutputPath()

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

◆ 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

◆ cloneShared()

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

Implements OutputJob.

◆ operator=()

ProjectJsonOutputJob & operator= ( const ProjectJsonOutputJob rhs)
delete

◆ serializeDerived()

void serializeDerived ( SExpression root) const
overrideprivatevirtual

Implements OutputJob.

◆ equals()

bool equals ( const OutputJob rhs) const
overrideprivatevirtualnoexcept

Implements OutputJob.

Member Data Documentation

◆ mOutputPath

QString mOutputPath
private

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