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 = true |
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.
References MINOPTMAX< T >::m_hasMax.
Referenced by DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengths(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkews(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCounts(), EDA_UNIT_UTILS::UI::MessageTextFromMinOptMax(), reportMax(), test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run(), DRC_TEST_PROVIDER_TEXT_DIMS::Run(), PNS::MEANDER_SETTINGS::SetTargetLength(), PNS::MEANDER_SETTINGS::SetTargetSkew(), and PCB_CONTROL::UpdateMessagePanel().
|
inline |
Definition at line 37 of file minoptmax.h.
References MINOPTMAX< T >::m_hasMin.
Referenced by DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengths(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkews(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCounts(), PNS::MEANDER_PLACER_BASE::Clearance(), PCB_VIA::GetMinAnnulus(), BOARD_CONNECTED_ITEM::GetOwnClearance(), PAD::GetOwnClearance(), EDA_UNIT_UTILS::UI::MessageTextFromMinOptMax(), reportMin(), test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run(), DRC_TEST_PROVIDER_TEXT_DIMS::Run(), PNS::MEANDER_SETTINGS::SetTargetLength(), and PNS::MEANDER_SETTINGS::SetTargetSkew().
|
inline |
Definition at line 39 of file minoptmax.h.
References MINOPTMAX< T >::m_hasOpt.
Referenced by EDA_UNIT_UTILS::UI::MessageTextFromMinOptMax(), reportOpt(), and PCB_EDIT_FRAME::SetTrackSegmentWidth().
|
inline |
Definition at line 45 of file minoptmax.h.
References MINOPTMAX< T >::m_isNull.
Referenced by DRAWING_TOOL::PlaceTuningPattern().
|
inline |
Definition at line 34 of file minoptmax.h.
References MINOPTMAX< T >::m_hasMax, and MINOPTMAX< T >::m_max.
Referenced by ZONE_FILLER::buildThermalSpokes(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengths(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkews(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCounts(), PNS::MEANDER_PLACER::doMove(), PCB_TUNING_PATTERN::GetPreviewItems(), PCB_TUNING_PATTERN::GetProperties(), EDA_UNIT_UTILS::UI::MessageTextFromMinOptMax(), PNS::DP_MEANDER_PLACER::Move(), PNS::MEANDER_PLACER::Move(), PNS::MEANDER_SKEW_PLACER::Move(), reportMax(), test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run(), DRC_TEST_PROVIDER_TEXT_DIMS::Run(), PNS::MEANDER_SETTINGS::SetTargetLength(), PNS::MEANDER_SETTINGS::SetTargetSkew(), ROUTER_TOOL::UpdateMessagePanel(), PCB_CONTROL::UpdateMessagePanel(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 33 of file minoptmax.h.
References MINOPTMAX< T >::m_hasMin, and MINOPTMAX< T >::m_min.
Referenced by ZONE_FILLER::buildCopperItemClearances(), ZONE_FILLER::buildThermalSpokes(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkLengths(), DRC_TEST_PROVIDER_HOLE_SIZE::checkPadHole(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkSkews(), DRC_TEST_PROVIDER_MATCHED_LENGTH::checkViaCounts(), DRC_TEST_PROVIDER_HOLE_SIZE::checkViaHole(), PNS::MEANDER_PLACER_BASE::Clearance(), PNS_PCBNEW_RULE_RESOLVER::Clearance(), MOCK_RULE_RESOLVER::Clearance(), DRAWING_TOOL::DrawVia(), DRC_ENGINE::EvalRules(), ZONE_FILLER::fillNonCopperZone(), BOARD_DESIGN_SETTINGS::GetBiggestClearanceValue(), PCB_VIA::GetMinAnnulus(), BOARD_CONNECTED_ITEM::GetOwnClearance(), PAD::GetOwnClearance(), PCB_TUNING_PATTERN::GetPreviewItems(), PCB_TUNING_PATTERN::GetProperties(), PNS_KICAD_IFACE_BASE::ImportSizes(), BOARD_INSPECTION_TOOL::InspectClearance(), BOARD_INSPECTION_TOOL::InspectDRCError(), ZONE_FILLER::knockoutThermalReliefs(), EDA_UNIT_UTILS::UI::MessageTextFromMinOptMax(), PNS::DP_MEANDER_PLACER::Move(), PNS::MEANDER_PLACER::Move(), PNS::MEANDER_SKEW_PLACER::Move(), MINOPTMAX< T >::Opt(), reportMin(), DRC_CACHE_GENERATOR::Run(), DRC_INTERACTIVE_COURTYARD_CLEARANCE::Run(), DRC_TEST_PROVIDER_CONNECTION_WIDTH::Run(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::Run(), test::DRC_TEST_PROVIDER_DIFF_PAIR_COUPLING::Run(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run(), DRC_TEST_PROVIDER_HOLE_TO_HOLE::Run(), DRC_TEST_PROVIDER_SILK_CLEARANCE::Run(), DRC_TEST_PROVIDER_SOLDER_MASK::Run(), DRC_TEST_PROVIDER_TEXT_DIMS::Run(), DRC_TEST_PROVIDER_TRACK_SEGMENT_LENGTH::Run(), DRC_TEST_PROVIDER_TRACK_WIDTH::Run(), PNS::MEANDER_SETTINGS::SetTargetLength(), PNS::MEANDER_SETTINGS::SetTargetSkew(), PCB_EDIT_FRAME::SetTrackSegmentWidth(), DRC_TEST_PROVIDER_EDGE_CLEARANCE::testAgainstEdge(), DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testCourtyardClearances(), DRC_TEST_PROVIDER_CREEPAGE::testCreepage(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstItem(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testItemAgainstZone(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstZones(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testKnockoutTextAgainstZone(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testShapeLineChain(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testSingleLayerItemAgainstItem(), DRC_TEST_PROVIDER_ZONE_CONNECTIONS::testZoneLayer(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testZoneLayer(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZonesToZones(), PCB_CONTROL::UpdateMessagePanel(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 35 of file minoptmax.h.
References MINOPTMAX< T >::m_hasOpt, MINOPTMAX< T >::m_opt, and MINOPTMAX< T >::Min().
Referenced by ZONE_FILLER::buildThermalSpokes(), PCB_TUNING_PATTERN::GetMsgPanelInfo(), PCB_TUNING_PATTERN::GetPreviewItems(), PCB_TUNING_PATTERN::GetProperties(), PCB_TUNING_PATTERN::GetTargetLength(), PCB_TUNING_PATTERN::GetTargetSkew(), ROUTER_TOOL::handleLayerSwitch(), PNS_KICAD_IFACE_BASE::ImportSizes(), BOARD_INSPECTION_TOOL::InspectClearance(), EDA_UNIT_UTILS::UI::MessageTextFromMinOptMax(), PNS::DP_MEANDER_PLACER::Move(), PNS::MEANDER_PLACER::Move(), PNS::MEANDER_SKEW_PLACER::Move(), DIALOG_TUNING_PATTERN_PROPERTIES::onOverrideCustomRules(), reportOpt(), PNS::MEANDER_SETTINGS::SetTargetLength(), PNS::MEANDER_SETTINGS::SetTargetSkew(), PCB_EDIT_FRAME::SetTrackSegmentWidth(), DIALOG_TUNING_PATTERN_PROPERTIES::TransferDataFromWindow(), DIALOG_TUNING_PATTERN_PROPERTIES::TransferDataToWindow(), and ROUTER_TOOL::updateSizesAfterRouterEvent().
|
inline |
Definition at line 42 of file minoptmax.h.
References MINOPTMAX< T >::m_hasMax, MINOPTMAX< T >::m_isNull, and MINOPTMAX< T >::m_max.
Referenced by DRC_RULES_PARSER::parseConstraint(), PCB_TUNING_PATTERN::SetProperties(), PNS::MEANDER_SETTINGS::SetTargetLength(), and PNS::MEANDER_SETTINGS::SetTargetSkew().
|
inline |
Definition at line 41 of file minoptmax.h.
References MINOPTMAX< T >::m_hasMin, MINOPTMAX< T >::m_isNull, and MINOPTMAX< T >::m_min.
Referenced by DRC_ENGINE::EvalRules(), DRC_ENGINE::loadImplicitRules(), DRC_RULES_PARSER::parseConstraint(), PNS_PCBNEW_RULE_RESOLVER::QueryConstraint(), MOCK_RULE_RESOLVER::QueryConstraint(), PCB_TUNING_PATTERN::SetProperties(), PNS::MEANDER_SETTINGS::SetTargetLength(), and PNS::MEANDER_SETTINGS::SetTargetSkew().
|
inline |
Definition at line 43 of file minoptmax.h.
References MINOPTMAX< T >::m_hasOpt, MINOPTMAX< T >::m_isNull, and MINOPTMAX< T >::m_opt.
Referenced by DRC_ENGINE::EvalRules(), DRC_ENGINE::loadImplicitRules(), DRC_RULES_PARSER::parseConstraint(), PNS::MEANDER_SETTINGS::SetTargetLength(), and PNS::MEANDER_SETTINGS::SetTargetSkew().
|
private |
Definition at line 54 of file minoptmax.h.
Referenced by MINOPTMAX< T >::HasMax(), MINOPTMAX< T >::Max(), and MINOPTMAX< T >::SetMax().
|
private |
Definition at line 52 of file minoptmax.h.
Referenced by MINOPTMAX< T >::HasMin(), MINOPTMAX< T >::Min(), and MINOPTMAX< T >::SetMin().
|
private |
Definition at line 53 of file minoptmax.h.
Referenced by MINOPTMAX< T >::HasOpt(), MINOPTMAX< T >::Opt(), and MINOPTMAX< T >::SetOpt().
|
private |
Definition at line 48 of file minoptmax.h.
Referenced by MINOPTMAX< T >::IsNull(), MINOPTMAX< T >::SetMax(), MINOPTMAX< T >::SetMin(), and MINOPTMAX< T >::SetOpt().
|
private |
Definition at line 51 of file minoptmax.h.
Referenced by MINOPTMAX< T >::Max(), and MINOPTMAX< T >::SetMax().
|
private |
Definition at line 49 of file minoptmax.h.
Referenced by MINOPTMAX< T >::Min(), and MINOPTMAX< T >::SetMin().
|
private |
Definition at line 50 of file minoptmax.h.
Referenced by MINOPTMAX< T >::Opt(), and MINOPTMAX< T >::SetOpt().