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

#include <model/rules.hpp>

Public Attributes

std::string name
std::string condition
 raw expression text, compiled by the rule engine
std::string layer
 "", "outer", "inner", or a layer name
std::string severity
std::vector< Constraint > constraints
bool implicit = false
 one of the rules KiCad compiles itself (tuning profiles, doc 05 §58), not from the .kicad_dru

Detailed Description

Definition at line 101 of file rules.hpp.

Member Data Documentation

◆ condition

std::string tmk::model::CustomRule::condition

raw expression text, compiled by the rule engine

Definition at line 103 of file rules.hpp.

◆ constraints

std::vector<Constraint> tmk::model::CustomRule::constraints

Definition at line 106 of file rules.hpp.

◆ implicit

bool tmk::model::CustomRule::implicit = false

one of the rules KiCad compiles itself (tuning profiles, doc 05 §58), not from the .kicad_dru

Definition at line 107 of file rules.hpp.

◆ layer

std::string tmk::model::CustomRule::layer

"", "outer", "inner", or a layer name

Definition at line 104 of file rules.hpp.

◆ name

std::string tmk::model::CustomRule::name

Definition at line 102 of file rules.hpp.

◆ severity

std::string tmk::model::CustomRule::severity

Definition at line 105 of file rules.hpp.


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