![]() |
KiCad PCB EDA Suite
|
#include <minoptmax.h>
Public Member Functions | |
T | Min () const |
T | Max () const |
T | Opt () const |
bool | HasMin () const |
bool | HasMax () const |
bool | HasOpt () const |
void | SetMin (T v) |
void | SetMax (T v) |
void | SetOpt (T v) |
bool | IsNull () const |
Private Attributes | |
bool | m_isNull |
T | m_min |
T | m_opt |
T | m_max |
bool | m_hasMin = false |
bool | m_hasOpt = false |
bool | m_hasMax = false |
Definition at line 30 of file minoptmax.h.
|
inline |
Definition at line 38 of file minoptmax.h.
Referenced by DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengthViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkewViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCountViolations(), and TRACK::GetWidthConstraints().
|
inline |
Definition at line 37 of file minoptmax.h.
Referenced by DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengthViolations(), VIA::GetMinAnnulus(), BOARD_CONNECTED_ITEM::GetOwnClearance(), and TRACK::GetWidthConstraints().
|
inline |
Definition at line 39 of file minoptmax.h.
|
inline |
Definition at line 45 of file minoptmax.h.
|
inline |
Definition at line 34 of file minoptmax.h.
Referenced by DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengthViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkewViolations(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCountViolations(), and TRACK::GetWidthConstraints().
|
inline |
Definition at line 33 of file minoptmax.h.
Referenced by ZONE::BuildSmoothedPoly(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengthViolations(), DRC_TEST_PROVIDER_HOLE_SIZE::checkPad(), DRC_TEST_PROVIDER_HOLE_SIZE::checkVia(), DRAWING_TOOL::DrawVia(), BOARD_DESIGN_SETTINGS::GetBiggestClearanceValue(), VIA::GetMinAnnulus(), BOARD_CONNECTED_ITEM::GetOwnClearance(), TRACK::GetWidthConstraints(), PNS_KICAD_IFACE_BASE::ImportSizes(), MINOPTMAX< int >::Opt(), DRC_TEST_PROVIDER_TRACK_WIDTH::Run(), DRC_TEST_PROVIDER_ANNULUS::Run(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::Run(), DRC_TEST_PROVIDER_SILK_TO_MASK::Run(), DRC_TEST_PROVIDER_HOLE_CLEARANCE::Run(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::Run(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::testAgainstEdge(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testCourtyardClearances(), DRC_TEST_PROVIDER_HOLE_CLEARANCE::testHoleAgainstHole(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZones(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackAgainstItem(), and DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZones().
|
inline |
Definition at line 35 of file minoptmax.h.
Referenced by ROUTER_TOOL::handleLayerSwitch(), and PNS_KICAD_IFACE_BASE::ImportSizes().
|
inline |
|
inline |
Definition at line 41 of file minoptmax.h.
Referenced by DRC_ENGINE::EvalRules(), DRC_ENGINE::loadImplicitRules(), and DRC_RULES_PARSER::parseConstraint().
|
inline |
Definition at line 43 of file minoptmax.h.
Referenced by DRC_ENGINE::loadImplicitRules(), and DRC_RULES_PARSER::parseConstraint().
|
private |
Definition at line 54 of file minoptmax.h.
Referenced by MINOPTMAX< int >::HasMax(), MINOPTMAX< int >::Max(), and MINOPTMAX< int >::SetMax().
|
private |
Definition at line 52 of file minoptmax.h.
Referenced by MINOPTMAX< int >::HasMin(), MINOPTMAX< int >::Min(), and MINOPTMAX< int >::SetMin().
|
private |
Definition at line 53 of file minoptmax.h.
Referenced by MINOPTMAX< int >::HasOpt(), MINOPTMAX< int >::Opt(), and MINOPTMAX< int >::SetOpt().
|
private |
Definition at line 48 of file minoptmax.h.
Referenced by MINOPTMAX< int >::IsNull(), MINOPTMAX< int >::SetMax(), MINOPTMAX< int >::SetMin(), and MINOPTMAX< int >::SetOpt().
|
private |
Definition at line 51 of file minoptmax.h.
Referenced by MINOPTMAX< int >::Max(), and MINOPTMAX< int >::SetMax().
|
private |
Definition at line 49 of file minoptmax.h.
Referenced by MINOPTMAX< int >::Min(), and MINOPTMAX< int >::SetMin().
|
private |
Definition at line 50 of file minoptmax.h.
Referenced by MINOPTMAX< int >::Opt(), and MINOPTMAX< int >::SetOpt().