20#ifndef LIBREPCB_CORE_BOARDDESIGNRULES_H
21#define LIBREPCB_CORE_BOARDDESIGNRULES_H
26#include "../../types/boundedunsignedratio.h"
27#include "../../types/length.h"
124 return !(*
this == rhs);
The BoardDesignRules class.
Definition boarddesignrules.h:45
const BoundedUnsignedRatio & getPadAnnularRing() const noexcept
Definition boarddesignrules.h:75
UnsignedLength mStopMaskMaxViaDrillDiameter
Definition boarddesignrules.h:132
bool getPadCmpSideAutoAnnularRing() const noexcept
Definition boarddesignrules.h:69
void setPadInnerAutoAnnularRing(bool enabled) noexcept
Definition boarddesignrules.h:97
const BoundedUnsignedRatio & getStopMaskClearance() const noexcept
Definition boarddesignrules.h:59
const BoundedUnsignedRatio & getSolderPasteClearance() const noexcept
Definition boarddesignrules.h:64
void setSolderPasteClearance(const BoundedUnsignedRatio &value) noexcept
Definition boarddesignrules.h:91
void setPadCmpSideAutoAnnularRing(bool enabled) noexcept
Definition boarddesignrules.h:94
BoundedUnsignedRatio mStopMaskClearance
Definition boarddesignrules.h:133
bool mPadCmpSideAutoAnnularRing
Definition boarddesignrules.h:139
~BoardDesignRules() noexcept
Definition boarddesignrules.cpp:83
void serialize(SExpression &root) const
Serialize into librepcb::SExpression node.
Definition boarddesignrules.cpp:94
static bool parsePadAutoAnnular(const SExpression &node)
Definition boarddesignrules.cpp:176
BoundedUnsignedRatio mSolderPasteClearance
Definition boarddesignrules.h:136
BoundedUnsignedRatio mViaAnnularRing
Percentage of the drill diameter.
Definition boarddesignrules.h:144
const UnsignedLength & getStopMaskMaxViaDiameter() const noexcept
Definition boarddesignrules.h:56
void setPadAnnularRing(const BoundedUnsignedRatio &value)
Definition boarddesignrules.h:100
bool doesViaRequireStopMaskOpening(const Length &drillDia) const noexcept
Definition boarddesignrules.cpp:130
const BoundedUnsignedRatio & getViaAnnularRing() const noexcept
Definition boarddesignrules.h:80
BoardDesignRules() noexcept
Definition boarddesignrules.cpp:38
void setViaAnnularRing(const BoundedUnsignedRatio &value)
Definition boarddesignrules.h:103
void restoreDefaults() noexcept
Definition boarddesignrules.cpp:90
bool mPadInnerAutoAnnularRing
Definition boarddesignrules.h:140
void setStopMaskClearance(const BoundedUnsignedRatio &value) noexcept
Definition boarddesignrules.h:88
void setStopMaskMaxViaDiameter(const UnsignedLength &dia) noexcept
Definition boarddesignrules.h:85
BoundedUnsignedRatio mPadAnnularRing
Definition boarddesignrules.h:141
bool getPadInnerAutoAnnularRing() const noexcept
Definition boarddesignrules.h:72
The BoundedUnsignedRatio class represents a ratio limited to a range specified by min/max values.
Definition boundedunsignedratio.h:46
The Length class is used to represent a length (for example 12.75 millimeters)
Definition length.h:82
The SExpression class.
Definition sexpression.h:69
Definition occmodel.cpp:76
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition length.h:694