LibrePCB Developers Documentation
D356NetlistGenerator Class Referencefinal

The D356NetlistGenerator class. More...

#include <d356netlistgenerator.h>

+ Collaboration diagram for D356NetlistGenerator:

Classes

struct  Record
 

Public Member Functions

 D356NetlistGenerator ()=delete
 
 D356NetlistGenerator (const D356NetlistGenerator &other)=delete
 
 D356NetlistGenerator (const QString &projName, const QString &projRevision, const QString &brdName, const QDateTime &generationDate) noexcept
 
 ~D356NetlistGenerator () noexcept
 
void smtPad (const QString &netName, const QString &cmpName, const QString &padName, const Point &position, const PositiveLength &width, const PositiveLength &height, const Angle &rotation, int layer)
 
void thtPad (const QString &netName, const QString &cmpName, const QString &padName, const Point &position, const PositiveLength &width, const PositiveLength &height, const Angle &rotation, const PositiveLength &drillDiameter)
 
void throughVia (const QString &netName, const Point &position, const PositiveLength &width, const PositiveLength &height, const Angle &rotation, const PositiveLength &drillDiameter, bool solderMaskCovered)
 
void blindVia (const QString &netName, const Point &position, const PositiveLength &width, const PositiveLength &height, const Angle &rotation, const PositiveLength &drillDiameter, int startLayer, int endLayer, bool solderMaskCovered)
 
void buriedVia (const QString &netName, const Point &position, const PositiveLength &drillDiameter, int startLayer, int endLayer)
 
QByteArray generate () const
 
D356NetlistGeneratoroperator= (const D356NetlistGenerator &rhs)=delete
 

Private Types

enum class  OperationCode : int
 
enum class  SolderMask : int
 

Static Private Member Functions

static QString cleanString (QString str) noexcept
 
static QString checkedComponentName (const QString &name) noexcept
 
static QString formatLength (const Length &value, bool isSigned, int digits) noexcept
 

Private Attributes

QStringList mComments
 
QList< RecordmRecords
 

Detailed Description

Member Enumeration Documentation

◆ OperationCode

enum class OperationCode : int
strongprivate
Enumerator
Continuation 
BlindOrBuriedVia 
ThroughHole 
SurfaceMount 

◆ SolderMask

enum class SolderMask : int
strongprivate
Enumerator
None 
PrimarySide 
SecondarySide 
BothSides 

Constructor & Destructor Documentation

◆ D356NetlistGenerator() [1/3]

◆ D356NetlistGenerator() [2/3]

D356NetlistGenerator ( const D356NetlistGenerator other)
delete

◆ D356NetlistGenerator() [3/3]

D356NetlistGenerator ( const QString &  projName,
const QString &  projRevision,
const QString &  brdName,
const QDateTime &  generationDate 
)
noexcept
+ Here is the call graph for this function:

◆ ~D356NetlistGenerator()

~D356NetlistGenerator ( )
noexcept

Member Function Documentation

◆ smtPad()

void smtPad ( const QString &  netName,
const QString &  cmpName,
const QString &  padName,
const Point position,
const PositiveLength width,
const PositiveLength height,
const Angle rotation,
int  layer 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ thtPad()

void thtPad ( const QString &  netName,
const QString &  cmpName,
const QString &  padName,
const Point position,
const PositiveLength width,
const PositiveLength height,
const Angle rotation,
const PositiveLength drillDiameter 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ throughVia()

void throughVia ( const QString &  netName,
const Point position,
const PositiveLength width,
const PositiveLength height,
const Angle rotation,
const PositiveLength drillDiameter,
bool  solderMaskCovered 
)
+ Here is the caller graph for this function:

◆ blindVia()

void blindVia ( const QString &  netName,
const Point position,
const PositiveLength width,
const PositiveLength height,
const Angle rotation,
const PositiveLength drillDiameter,
int  startLayer,
int  endLayer,
bool  solderMaskCovered 
)
+ Here is the caller graph for this function:

◆ buriedVia()

void buriedVia ( const QString &  netName,
const Point position,
const PositiveLength drillDiameter,
int  startLayer,
int  endLayer 
)
+ Here is the caller graph for this function:

◆ generate()

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

◆ operator=()

D356NetlistGenerator & operator= ( const D356NetlistGenerator rhs)
delete

◆ cleanString()

QString cleanString ( QString  str)
staticprivatenoexcept
+ Here is the caller graph for this function:

◆ checkedComponentName()

QString checkedComponentName ( const QString &  name)
staticprivatenoexcept
+ Here is the caller graph for this function:

◆ formatLength()

QString formatLength ( const Length value,
bool  isSigned,
int  digits 
)
staticprivatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mComments

QStringList mComments
private

◆ mRecords

QList<Record> mRecords
private

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