KiCad PCB EDA Suite
|
Public Member Functions | |
PCBEXPR_COMPONENT_CLASS_VALUE (BOARD_ITEM *aItem) | |
const wxString & | AsString () const override |
bool | EqualTo (LIBEVAL::CONTEXT *aCtx, const VALUE *b) const override |
bool | NotEqualTo (LIBEVAL::CONTEXT *aCtx, const LIBEVAL::VALUE *b) const override |
virtual double | AsDouble () const |
virtual bool | EqualTo (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 | |
FOOTPRINT * | m_item |
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 169 of file pcbexpr_evaluator.cpp.
|
inline |
Definition at line 172 of file pcbexpr_evaluator.cpp.
|
inlinevirtualinherited |
Definition at line 216 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::EqualTo(), PCBEXPR_EVALUATOR::Evaluate(), LIBEVAL::UOP::Exec(), and testEvalExpr().
|
inlineoverridevirtual |
Reimplemented from LIBEVAL::VALUE.
Definition at line 176 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::AsString(), FOOTPRINT::GetComponentClass(), m_item, and LIBEVAL::VALUE::Set().
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 PCBEXPR_NETCLASS_VALUE::EqualTo(), EqualTo(), PCBEXPR_NET_VALUE::EqualTo(), LIBEVAL::UOP::Exec(), LIBEVAL::VALUE::NotEqualTo(), NotEqualTo(), and testEvalExpr().
|
inlineoverride |
Definition at line 189 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::EqualTo(), FOOTPRINT::GetComponentClass(), and m_item.
|
inlineinherited |
Definition at line 243 of file libeval_compiler.h.
Referenced by PCBEXPR_EVALUATOR::Evaluate(), LIBEVAL::UOP::Exec(), and testEvalExpr().
|
inlineoverridevirtual |
Reimplemented from LIBEVAL::VALUE.
Definition at line 210 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::EqualTo(), FOOTPRINT::GetComponentClass(), m_item, and LIBEVAL::VALUE::NotEqualTo().
|
inlineinherited |
Definition at line 271 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 265 of file libeval_compiler.h.
References LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 245 of file libeval_compiler.h.
References LIBEVAL::VT_NUMERIC.
Referenced by PCBEXPR_NETCLASS_VALUE::AsString(), AsString(), PCBEXPR_NET_VALUE::AsString(), enclosedByAreaFunc(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), LIBEVAL::COMPILER::generateUCode(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), and memberOfSheetFunc().
|
inlineinherited |
Definition at line 251 of file libeval_compiler.h.
References LIBEVAL::VT_NUMERIC.
Referenced by enclosedByAreaFunc(), existsOnLayerFunc(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isCoupledDiffPairFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), and memberOfSheetFunc().
|
inlineinherited |
Definition at line 258 of file libeval_compiler.h.
References LIBEVAL::VT_STRING.
|
mutableprivateinherited |
Definition at line 286 of file libeval_compiler.h.
|
mutableprivateinherited |
Definition at line 289 of file libeval_compiler.h.
|
protected |
Definition at line 232 of file pcbexpr_evaluator.cpp.
Referenced by AsString(), EqualTo(), and NotEqualTo().
|
privateinherited |
Definition at line 287 of file libeval_compiler.h.
|
privateinherited |
Definition at line 290 of file libeval_compiler.h.
|
privateinherited |
Definition at line 284 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::EqualTo().
|
privateinherited |
Definition at line 281 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::EqualTo(), LIBEVAL::VALUE::NotEqualTo(), and LIBEVAL::VALUE::Set().
|
mutableprivateinherited |
Definition at line 282 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::Set().
|
mutableprivateinherited |
Definition at line 283 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::Set().