20#ifndef LIBREPCB_CORE_PICKPLACEDATA_H
21#define LIBREPCB_CORE_PICKPLACEDATA_H
26#include "../qtcompat.h"
27#include "../types/angle.h"
28#include "../types/point.h"
69 const QString& deviceName,
const QString& packageName,
148 PickPlaceData(
const QString& projectName,
const QString& projectVersion,
149 const QString& boardName)
noexcept;
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition: angle.h:78
The librepcb::PickPlaceData class represents the content of a pick&place file.
Definition: pickplacedata.h:141
const QString & getBoardName() const noexcept
Definition: pickplacedata.h:155
QString mProjectVersion
Definition: pickplacedata.h:166
PickPlaceData(const PickPlaceData &other) noexcept=delete
const QList< PickPlaceDataItem > & getItems() const noexcept
Definition: pickplacedata.h:156
const QString & getProjectName() const noexcept
Definition: pickplacedata.h:153
~PickPlaceData() noexcept
Definition: pickplacedata.cpp:47
PickPlaceData & operator=(const PickPlaceData &rhs) noexcept=delete
const QString & getProjectVersion() const noexcept
Definition: pickplacedata.h:154
void addItem(const PickPlaceDataItem &item) noexcept
Definition: pickplacedata.cpp:54
QList< PickPlaceDataItem > mItems
Definition: pickplacedata.h:168
QString mBoardName
Definition: pickplacedata.h:167
QString mProjectName
Definition: pickplacedata.h:165
The librepcb::PickPlaceDataItem class represents one item of a pick&place file.
Definition: pickplacedata.h:47
const Angle & getRotation() const noexcept
Definition: pickplacedata.h:99
Type
Definition: pickplacedata.h:58
const QString & getPackageName() const noexcept
Definition: pickplacedata.h:97
BoardSide getBoardSide() const noexcept
Definition: pickplacedata.h:100
void setDesignator(const QString &value) noexcept
Definition: pickplacedata.h:105
QString mPackageName
Definition: pickplacedata.h:125
BoardSide
Definition: pickplacedata.h:51
BoardSide mBoardSide
Definition: pickplacedata.h:128
PickPlaceDataItem(const PickPlaceDataItem &other) noexcept
Definition: pickplacedata.h:81
Type getType() const noexcept
Definition: pickplacedata.h:101
bool mMount
False means "do not mount".
Definition: pickplacedata.h:130
const QString & getDesignator() const noexcept
Definition: pickplacedata.h:94
QString mValue
Definition: pickplacedata.h:123
Angle mRotation
Definition: pickplacedata.h:127
const QString & getValue() const noexcept
Definition: pickplacedata.h:95
const Point & getPosition() const noexcept
Definition: pickplacedata.h:98
QString mDeviceName
Definition: pickplacedata.h:124
PickPlaceDataItem()=delete
const QString & getDeviceName() const noexcept
Definition: pickplacedata.h:96
QString mDesignator
Definition: pickplacedata.h:122
bool isMount() const noexcept
Definition: pickplacedata.h:102
PickPlaceDataItem & operator=(const PickPlaceDataItem &rhs) noexcept
Definition: pickplacedata.h:108
~PickPlaceDataItem() noexcept
Definition: pickplacedata.h:91
Point mPosition
Definition: pickplacedata.h:126
Type mType
Definition: pickplacedata.h:129
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
Definition: pickplacedata.h:68
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
uint Hash
Return type of Qt's qHash() function.
Definition: qtcompat.h:58
Definition: occmodel.cpp:77
QtCompat::Hash qHash(const AttributeKey &key, QtCompat::Hash seed=0) noexcept
Definition: attributekey.h:119
QtCompat::Hash qHash(PickPlaceDataItem::Type key, QtCompat::Hash seed=0) noexcept
Definition: pickplacedata.h:175