LibrePCB Developers Documentation
ExcellonGenerator Class Referencefinal

The ExcellonGenerator class. More...

#include <excellongenerator.h>

+ Collaboration diagram for ExcellonGenerator:

Public Types

enum  Plating
 
using Function = GerberAttribute::ApertureFunction
 

Public Member Functions

 ExcellonGenerator ()=delete
 
 ExcellonGenerator (const ExcellonGenerator &other)=delete
 
 ExcellonGenerator (const QDateTime &creationDate, const QString &projName, const Uuid &projUuid, const QString &projRevision, Plating plating, int fromLayer, int toLayer) noexcept
 
 ~ExcellonGenerator () noexcept
 
const QString & toStr () const noexcept
 
void drill (const Point &pos, const PositiveLength &dia, bool plated, Function function) noexcept
 
void generate ()
 
void saveToFile (const FilePath &filepath) const
 
ExcellonGeneratoroperator= (const ExcellonGenerator &rhs)=delete
 

Private Member Functions

void printHeader () noexcept
 
void printToolList () noexcept
 
void printDrills () noexcept
 
void printFooter () noexcept
 

Private Attributes

Plating mPlating
 
QVector< GerberAttributemFileAttributes
 
QString mOutput
 
QMultiMap< std::tuple< Length, bool, Function >, PointmDrillList
 

Detailed Description

The ExcellonGenerator class.

Member Typedef Documentation

◆ Function

Member Enumeration Documentation

◆ Plating

enum Plating
strong
Enumerator
Yes 
No 
Mixed 

Constructor & Destructor Documentation

◆ ExcellonGenerator() [1/3]

ExcellonGenerator ( )
delete

◆ ExcellonGenerator() [2/3]

ExcellonGenerator ( const ExcellonGenerator other)
delete

◆ ExcellonGenerator() [3/3]

ExcellonGenerator ( const QDateTime &  creationDate,
const QString &  projName,
const Uuid projUuid,
const QString &  projRevision,
Plating  plating,
int  fromLayer,
int  toLayer 
)
noexcept
+ Here is the call graph for this function:

◆ ~ExcellonGenerator()

~ExcellonGenerator ( )
noexcept

Member Function Documentation

◆ toStr()

const QString& toStr ( ) const
inlinenoexcept
+ Here is the call graph for this function:

◆ drill()

void drill ( const Point pos,
const PositiveLength dia,
bool  plated,
Function  function 
)
noexcept
+ Here is the caller graph for this function:

◆ generate()

void generate ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveToFile()

void saveToFile ( const FilePath filepath) const
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

ExcellonGenerator& operator= ( const ExcellonGenerator rhs)
delete
+ Here is the caller graph for this function:

◆ printHeader()

void printHeader ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ printToolList()

void printToolList ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ printDrills()

void printDrills ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ printFooter()

void printFooter ( )
privatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mPlating

Plating mPlating
private

◆ mFileAttributes

QVector<GerberAttribute> mFileAttributes
private

◆ mOutput

QString mOutput
private

◆ mDrillList

QMultiMap<std::tuple<Length, bool, Function>, Point> mDrillList
private

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