LibrePCB Developers Documentation
PickPlaceDataItem Class Referencefinal

The librepcb::PickPlaceDataItem class represents one item of a pick&place file. More...

#include <pickplacedata.h>

+ Collaboration diagram for PickPlaceDataItem:

Public Types

enum  BoardSide
 
enum  Type : int
 

Public Member Functions

 PickPlaceDataItem ()=delete
 
 PickPlaceDataItem (const QString &designator, const QString &value, const QString &deviceName, const QString &packageName, const Point &position, const Angle &rotation, BoardSide boardSide, Type type, bool mount) noexcept
 
 PickPlaceDataItem (const PickPlaceDataItem &other) noexcept
 
 ~PickPlaceDataItem () noexcept
 
const QString & getDesignator () const noexcept
 
const QString & getValue () const noexcept
 
const QString & getDeviceName () const noexcept
 
const QString & getPackageName () const noexcept
 
const PointgetPosition () const noexcept
 
const AnglegetRotation () const noexcept
 
BoardSide getBoardSide () const noexcept
 
Type getType () const noexcept
 
bool isMount () const noexcept
 
void setDesignator (const QString &value) noexcept
 
PickPlaceDataItemoperator= (const PickPlaceDataItem &rhs) noexcept
 

Private Attributes

QString mDesignator
 
QString mValue
 
QString mDeviceName
 
QString mPackageName
 
Point mPosition
 
Angle mRotation
 
BoardSide mBoardSide
 
Type mType
 
bool mMount
 False means "do not mount". More...
 

Detailed Description

The librepcb::PickPlaceDataItem class represents one item of a pick&place file.

See also
librepcb::PickPlaceData

Member Enumeration Documentation

◆ BoardSide

enum BoardSide
strong
Enumerator
Top 
Bottom 

◆ Type

enum Type : int
strong
Enumerator
Tht 

Pure THT package.

Smt 

Pure SMT package.

Mixed 

Mixed THT/SMT package.

Fiducial 

No package to mount, just a fiducial.

Other 

Anything special, e.g. mechanical parts.

Constructor & Destructor Documentation

◆ PickPlaceDataItem() [1/3]

PickPlaceDataItem ( )
delete

◆ PickPlaceDataItem() [2/3]

PickPlaceDataItem ( const QString &  designator,
const QString &  value,
const QString &  deviceName,
const QString &  packageName,
const Point position,
const Angle rotation,
BoardSide  boardSide,
Type  type,
bool  mount 
)
inlinenoexcept

◆ PickPlaceDataItem() [3/3]

PickPlaceDataItem ( const PickPlaceDataItem other)
inlinenoexcept

◆ ~PickPlaceDataItem()

~PickPlaceDataItem ( )
inlinenoexcept

Member Function Documentation

◆ getDesignator()

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

◆ getValue()

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

◆ getDeviceName()

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

◆ getPackageName()

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

◆ getPosition()

const Point& getPosition ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getRotation()

const Angle& getRotation ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getBoardSide()

BoardSide getBoardSide ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getType()

Type getType ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ isMount()

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

◆ setDesignator()

void setDesignator ( const QString &  value)
inlinenoexcept

◆ operator=()

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

Member Data Documentation

◆ mDesignator

QString mDesignator
private

◆ mValue

QString mValue
private

◆ mDeviceName

QString mDeviceName
private

◆ mPackageName

QString mPackageName
private

◆ mPosition

Point mPosition
private

◆ mRotation

Angle mRotation
private

◆ mBoardSide

BoardSide mBoardSide
private

◆ mType

Type mType
private

◆ mMount

bool mMount
private

False means "do not mount".


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