LibrePCB Developers Documentation
|
The Footprint class represents one footprint variant of a package. More...
#include <footprint.h>
Public Types | |
enum class | Event |
typedef Slot< Footprint, Event > | OnEditedSlot |
Public Member Functions | |
Footprint ()=delete | |
Footprint (const Footprint &other) noexcept | |
Footprint (const Uuid &uuid, const ElementName &name_en_US, const QString &description_en_US) | |
Footprint (const SExpression &node) | |
~Footprint () noexcept | |
const Uuid & | getUuid () const noexcept |
LocalizedNameMap & | getNames () noexcept |
const LocalizedNameMap & | getNames () const noexcept |
LocalizedDescriptionMap & | getDescriptions () noexcept |
const LocalizedDescriptionMap & | getDescriptions () const noexcept |
const Point3D & | getModelPosition () const noexcept |
const Angle3D & | getModelRotation () const noexcept |
const QSet< Uuid > & | getModels () const noexcept |
const FootprintPadList & | getPads () const noexcept |
FootprintPadList & | getPads () noexcept |
const PolygonList & | getPolygons () const noexcept |
PolygonList & | getPolygons () noexcept |
const CircleList & | getCircles () const noexcept |
CircleList & | getCircles () noexcept |
const StrokeTextList & | getStrokeTexts () const noexcept |
StrokeTextList & | getStrokeTexts () noexcept |
const ZoneList & | getZones () const noexcept |
ZoneList & | getZones () noexcept |
const HoleList & | getHoles () const noexcept |
HoleList & | getHoles () noexcept |
bool | setModelPosition (const Point3D &position) noexcept |
bool | setModelRotation (const Angle3D &rotation) noexcept |
bool | setModels (const QSet< Uuid > &models) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. More... | |
bool | operator== (const Footprint &rhs) const noexcept |
bool | operator!= (const Footprint &rhs) const noexcept |
Footprint & | operator= (const Footprint &rhs) noexcept |
Public Attributes | |
Signal< Footprint, Event > | onEdited |
Private Member Functions | |
void | namesEdited (const LocalizedNameMap &names, const QString &key, LocalizedNameMap::Event event) noexcept |
void | descriptionsEdited (const LocalizedDescriptionMap &names, const QString &key, LocalizedDescriptionMap::Event event) noexcept |
void | padsEdited (const FootprintPadList &list, int index, const std::shared_ptr< const FootprintPad > &pad, FootprintPadList::Event event) noexcept |
void | polygonsEdited (const PolygonList &list, int index, const std::shared_ptr< const Polygon > &polygon, PolygonList::Event event) noexcept |
void | circlesEdited (const CircleList &list, int index, const std::shared_ptr< const Circle > &circle, CircleList::Event event) noexcept |
void | strokeTextsEdited (const StrokeTextList &list, int index, const std::shared_ptr< const StrokeText > &text, StrokeTextList::Event event) noexcept |
void | zonesEdited (const ZoneList &list, int index, const std::shared_ptr< const Zone > &zone, ZoneList::Event event) noexcept |
void | holesEdited (const HoleList &list, int index, const std::shared_ptr< const Hole > &hole, HoleList::Event event) noexcept |
The Footprint class represents one footprint variant of a package.
Following information is considered as the "interface" of a footprint and must therefore never be changed:
typedef Slot<Footprint, Event> OnEditedSlot |
|
strong |
|
delete |
Footprint | ( | const Uuid & | uuid, |
const ElementName & | name_en_US, | ||
const QString & | description_en_US | ||
) |
|
explicit |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |