KiCad PCB EDA Suite
|
Public Member Functions | |
PCBEXPR_PINTYPE_VALUE (const wxString &aPinTypeName) | |
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) |
Static Public Member Functions | |
static VALUE * | MakeNullValue () |
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 99 of file pcbexpr_evaluator.cpp.
|
inline |
Definition at line 102 of file pcbexpr_evaluator.cpp.
|
inlinevirtualinherited |
Definition at line 224 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::EqualTo(), PCBEXPR_EVALUATOR::Evaluate(), LIBEVAL::UOP::Exec(), and testEvalExpr().
|
inlinevirtualinherited |
Reimplemented in PCBEXPR_NETCLASS_VALUE, PCBEXPR_COMPONENT_CLASS_VALUE, and PCBEXPR_NET_VALUE.
Definition at line 235 of file libeval_compiler.h.
Referenced by PCBEXPR_NETCLASS_VALUE::AsString(), PCBEXPR_COMPONENT_CLASS_VALUE::AsString(), PCBEXPR_NET_VALUE::AsString(), enclosedByAreaFunc(), LIBEVAL::VALUE::EqualTo(), EqualTo(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), 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_NULL, LIBEVAL::VT_NUMERIC, LIBEVAL::VT_STRING, LIBEVAL::VT_UNDEFINED, and WildCompareString().
Referenced by PCBEXPR_NETCLASS_VALUE::EqualTo(), PCBEXPR_COMPONENT_CLASS_VALUE::EqualTo(), PCBEXPR_NET_VALUE::EqualTo(), LIBEVAL::UOP::Exec(), LIBEVAL::VALUE::NotEqualTo(), PCBEXPR_COMPONENT_CLASS_VALUE::NotEqualTo(), and testEvalExpr().
|
inlineoverride |
Definition at line 106 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::AsString().
|
inlineinherited |
Definition at line 251 of file libeval_compiler.h.
Referenced by PCBEXPR_EVALUATOR::Evaluate(), LIBEVAL::UOP::Exec(), and testEvalExpr().
|
inlinestaticinherited |
Definition at line 214 of file libeval_compiler.h.
References LIBEVAL::VALUE::m_type, and LIBEVAL::VT_NULL.
Referenced by PCBEXPR_VAR_REF::GetValue().
Reimplemented in PCBEXPR_NETCLASS_VALUE, PCBEXPR_COMPONENT_CLASS_VALUE, and PCBEXPR_NET_VALUE.
Definition at line 137 of file libeval_compiler.cpp.
References LIBEVAL::VALUE::EqualTo(), LIBEVAL::VALUE::m_type, and LIBEVAL::VT_UNDEFINED.
Referenced by LIBEVAL::UOP::Exec(), PCBEXPR_NETCLASS_VALUE::NotEqualTo(), PCBEXPR_COMPONENT_CLASS_VALUE::NotEqualTo(), and PCBEXPR_NET_VALUE::NotEqualTo().
|
inlineinherited |
Definition at line 279 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 273 of file libeval_compiler.h.
References LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 253 of file libeval_compiler.h.
References LIBEVAL::VT_NUMERIC.
Referenced by PCBEXPR_NETCLASS_VALUE::AsString(), PCBEXPR_COMPONENT_CLASS_VALUE::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 259 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 266 of file libeval_compiler.h.
References LIBEVAL::VT_STRING.
|
mutableprivateinherited |
Definition at line 294 of file libeval_compiler.h.
|
mutableprivateinherited |
Definition at line 297 of file libeval_compiler.h.
|
privateinherited |
Definition at line 295 of file libeval_compiler.h.
|
privateinherited |
Definition at line 298 of file libeval_compiler.h.
|
privateinherited |
Definition at line 292 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::EqualTo().
|
privateinherited |
Definition at line 289 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::EqualTo(), LIBEVAL::VALUE::MakeNullValue(), LIBEVAL::VALUE::NotEqualTo(), and LIBEVAL::VALUE::Set().
|
mutableprivateinherited |
Definition at line 290 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::Set().
|
mutableprivateinherited |
Definition at line 291 of file libeval_compiler.h.
Referenced by LIBEVAL::VALUE::Set().