KiCad PCB EDA Suite
|
Public Member Functions | |
PCB_LAYER_VALUE (PCB_LAYER_ID aLayer) | |
virtual bool | EqualTo (LIBEVAL::CONTEXT *aCtx, const VALUE *b) const override |
virtual double | AsDouble () const |
virtual const wxString & | AsString () const |
virtual bool | EqualTo (CONTEXT *aCtx, const VALUE *b) const |
virtual bool | NotEqualTo (CONTEXT *aCtx, const VALUE *b) const |
VAR_TYPE_T | GetType () const |
void | Set (double aValue) |
void | Set (const wxString &aValue) |
void | Set (const VALUE &val) |
void | SetDeferredEval (std::function< double()> aLambda) |
void | SetDeferredEval (std::function< wxString()> aLambda) |
Protected Attributes | |
PCB_LAYER_ID | m_layer |
Private Attributes | |
VAR_TYPE_T | m_type |
double | m_valueDbl |
wxString | m_valueStr |
bool | m_stringIsWildcard |
bool | m_isDeferredDbl |
std::function< double()> | m_lambdaDbl |
bool | m_isDeferredStr |
std::function< wxString()> | m_lambdaStr |
Definition at line 46 of file pcb_expr_evaluator.cpp.
|
inline |
Definition at line 49 of file pcb_expr_evaluator.cpp.
|
inlinevirtualinherited |
Definition at line 215 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_isDeferredDbl, LIBEVAL::VALUE::m_lambdaDbl, and LIBEVAL::VALUE::m_valueDbl.
Referenced by LIBEVAL::VALUE::EqualTo(), PCB_EXPR_EVALUATOR::Evaluate(), LIBEVAL::UOP::Exec(), and testEvalExpr().
|
inlinevirtualinherited |
Definition at line 226 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_isDeferredStr, LIBEVAL::VALUE::m_lambdaStr, and LIBEVAL::VALUE::m_valueStr.
Referenced by enclosedByAreaFunc(), LIBEVAL::VALUE::EqualTo(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), getFieldFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), and testEvalExpr().
Definition at line 113 of file libeval_compiler.cpp.
References LIBEVAL::VALUE::AsDouble(), LIBEVAL::VALUE::AsString(), LIBEVAL::VALUE::m_stringIsWildcard, LIBEVAL::VALUE::m_type, LIBEVAL::VT_NUMERIC, LIBEVAL::VT_STRING, LIBEVAL::VT_UNDEFINED, and WildCompareString().
Referenced by LIBEVAL::UOP::Exec(), LIBEVAL::VALUE::NotEqualTo(), and testEvalExpr().
|
inlineoverridevirtual |
Definition at line 54 of file pcb_expr_evaluator.cpp.
References LSET::Contains(), GetBoard(), ENUM_MAP< T >::Instance(), BOARD::m_CachesMutex, m_layer, BOARD::m_LayerExpressionCache, and ToLAYER_ID().
|
inlineinherited |
Definition at line 242 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_type.
Referenced by PCB_EXPR_EVALUATOR::Evaluate(), LIBEVAL::UOP::Exec(), and testEvalExpr().
Definition at line 134 of file libeval_compiler.cpp.
References LIBEVAL::VALUE::EqualTo(), LIBEVAL::VALUE::m_type, and LIBEVAL::VT_UNDEFINED.
Referenced by LIBEVAL::UOP::Exec().
|
inlineinherited |
Definition at line 270 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_type, LIBEVAL::VALUE::m_valueDbl, LIBEVAL::VALUE::m_valueStr, and LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 264 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_type, LIBEVAL::VALUE::m_valueStr, and LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 244 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_type, LIBEVAL::VALUE::m_valueDbl, and LIBEVAL::VT_NUMERIC.
Referenced by enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), and memberOfGroupFunc().
|
inlineinherited |
Definition at line 250 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_isDeferredDbl, LIBEVAL::VALUE::m_lambdaDbl, LIBEVAL::VALUE::m_type, and LIBEVAL::VT_NUMERIC.
Referenced by enclosedByAreaFunc(), existsOnLayerFunc(), getFieldFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isCoupledDiffPairFunc(), memberOfFootprintFunc(), and memberOfGroupFunc().
|
inlineinherited |
Definition at line 257 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_isDeferredStr, LIBEVAL::VALUE::m_lambdaStr, LIBEVAL::VALUE::m_type, and LIBEVAL::VT_STRING.
|
mutableprivateinherited |
Definition at line 285 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::AsDouble(), and LIBEVAL::VALUE::SetDeferredEval().
|
mutableprivateinherited |
Definition at line 288 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::AsString(), and LIBEVAL::VALUE::SetDeferredEval().
|
privateinherited |
Definition at line 286 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::AsDouble(), and LIBEVAL::VALUE::SetDeferredEval().
|
privateinherited |
Definition at line 289 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::AsString(), and LIBEVAL::VALUE::SetDeferredEval().
|
protected |
Definition at line 88 of file pcb_expr_evaluator.cpp.
Referenced by EqualTo().
|
privateinherited |
Definition at line 283 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::EqualTo().
|
privateinherited |
Definition at line 280 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::EqualTo(), LIBEVAL::VALUE::GetType(), LIBEVAL::VALUE::NotEqualTo(), LIBEVAL::VALUE::Set(), and LIBEVAL::VALUE::SetDeferredEval().
|
mutableprivateinherited |
Definition at line 281 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::AsDouble(), and LIBEVAL::VALUE::Set().
|
mutableprivateinherited |
Definition at line 282 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::AsString(), and LIBEVAL::VALUE::Set().