TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::drc::DpSuffix Struct Reference

compiled custom-rule condition More...

#include <drc/rule_engine.hpp>

Public Attributes

int polarity = 0
std::string complement
std::string base

Detailed Description

compiled custom-rule condition

A differential-pair net name as KiCad 10.0.6 reads it (DRC_ENGINE::MatchDpSuffix): from the end, digits and underscores are skipped, then P or + makes the positive half and N or - the negative one. complement is the other half's name and base the name before the polarity character, so D_P1 pairs with D_N1 on base "D_". Polarity 0: not a pair name.

Definition at line 26 of file rule_engine.hpp.

Member Data Documentation

◆ base

std::string tmk::drc::DpSuffix::base

Definition at line 28 of file rule_engine.hpp.

◆ complement

std::string tmk::drc::DpSuffix::complement

Definition at line 28 of file rule_engine.hpp.

◆ polarity

int tmk::drc::DpSuffix::polarity = 0

Definition at line 27 of file rule_engine.hpp.


The documentation for this struct was generated from the following file: