LibrePCB Developers Documentation
GerberAttributeWriter Class Referencefinal

A helper class to generate Gerber X2 attributes. More...

#include <gerberattributewriter.h>

+ Collaboration diagram for GerberAttributeWriter:

Public Member Functions

 GerberAttributeWriter () noexcept
 
 GerberAttributeWriter (const GerberAttributeWriter &other)=delete
 
 ~GerberAttributeWriter () noexcept
 
QString setAttributes (const QList< GerberAttribute > &attributes) noexcept
 
GerberAttributeWriteroperator= (const GerberAttributeWriter &rhs)=delete
 

Private Attributes

QVector< GerberAttributemDictionary
 All currently set attributes, except file attributes. More...
 

Detailed Description

A helper class to generate Gerber X2 attributes.

This class works with a dictionary to keep track of all previously set attributes.

Constructor & Destructor Documentation

◆ GerberAttributeWriter() [1/2]

GerberAttributeWriter ( )
noexcept

◆ GerberAttributeWriter() [2/2]

GerberAttributeWriter ( const GerberAttributeWriter other)
delete

◆ ~GerberAttributeWriter()

~GerberAttributeWriter ( )
noexcept

Member Function Documentation

◆ setAttributes()

QString setAttributes ( const QList< GerberAttribute > &  attributes)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

GerberAttributeWriter& operator= ( const GerberAttributeWriter rhs)
delete

Member Data Documentation

◆ mDictionary

QVector<GerberAttribute> mDictionary
private

All currently set attributes, except file attributes.


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