KiCad PCB EDA Suite
|
Public Member Functions | |
PCBEXPR_NETCLASS_VALUE (BOARD_CONNECTED_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) |
void | SetUnits (const EDA_UNITS aUnits) |
EDA_UNITS | GetUnits () const |
bool | StringIsWildcard () const |
Static Public Member Functions | |
static VALUE * | MakeNullValue () |
Protected Attributes | |
BOARD_CONNECTED_ITEM * | 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 |
EDA_UNITS | m_units |
Definition at line 151 of file pcbexpr_evaluator.cpp.
|
inline |
Definition at line 154 of file pcbexpr_evaluator.cpp.
References m_item, and LIBEVAL::VALUE::VALUE().
Referenced by AsString(), EqualTo(), and NotEqualTo().
|
inlinevirtualinherited |
Definition at line 234 of file libeval_compiler.h.
References m_isDeferredDbl, m_lambdaDbl, and m_valueDbl.
Referenced by EqualTo(), LIBEVAL::UOP::Exec(), MULTICHANNEL_TOOL::findComponentsInRuleArea(), MULTICHANNEL_TOOL::findOtherItemsInRuleArea(), MULTICHANNEL_TOOL::findRoutingInRuleArea(), and testEvalExpr().
|
inlineoverridevirtual |
Reimplemented from LIBEVAL::VALUE.
Definition at line 159 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::AsString(), m_item, PCBEXPR_NETCLASS_VALUE(), and LIBEVAL::VALUE::Set().
Definition at line 122 of file libeval_compiler.cpp.
References AsDouble(), AsString(), m_stringIsWildcard, m_type, VALUE(), LIBEVAL::VT_NULL, LIBEVAL::VT_NUMERIC, LIBEVAL::VT_STRING, LIBEVAL::VT_UNDEFINED, and WildCompareString().
Referenced by PCBEXPR_COMPONENT_CLASS_VALUE::EqualTo(), PCBEXPR_NET_VALUE::EqualTo(), PCBEXPR_NETCLASS_VALUE::EqualTo(), LIBEVAL::UOP::Exec(), NotEqualTo(), PCBEXPR_COMPONENT_CLASS_VALUE::NotEqualTo(), and PCBEXPR_NETCLASS_VALUE::NotEqualTo().
|
inlineoverride |
Definition at line 165 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::EqualTo(), m_item, PCBEXPR_NETCLASS_VALUE(), LIBEVAL::VALUE::VALUE(), LIBEVAL::VT_STRING, and WildCompareString().
|
inlineinherited |
Definition at line 261 of file libeval_compiler.h.
References m_type.
Referenced by LIBEVAL::UOP::Exec(), PCBEXPR_COMPONENT_CLASS_VALUE::NotEqualTo(), PCBEXPR_NETCLASS_VALUE::NotEqualTo(), and testEvalExpr().
|
inlineinherited |
Definition at line 300 of file libeval_compiler.h.
References m_units.
Referenced by LIBEVAL::UOP::Exec().
|
inlinestaticinherited |
Definition at line 225 of file libeval_compiler.h.
References m_type, VALUE, VALUE(), and LIBEVAL::VT_NULL.
Referenced by PCBEXPR_VAR_REF::GetValue().
|
inlineoverridevirtual |
Reimplemented from LIBEVAL::VALUE.
Definition at line 194 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::AsString(), LIBEVAL::VALUE::EqualTo(), LIBEVAL::VALUE::GetType(), m_item, LIBEVAL::VALUE::NotEqualTo(), PCBEXPR_NETCLASS_VALUE(), LIBEVAL::VALUE::StringIsWildcard(), LIBEVAL::VT_STRING, and WildCompareString().
|
inlineinherited |
Definition at line 289 of file libeval_compiler.h.
References m_type, m_valueDbl, m_valueStr, VALUE(), and LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 283 of file libeval_compiler.h.
References m_type, m_valueStr, and LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 263 of file libeval_compiler.h.
References m_type, m_valueDbl, and LIBEVAL::VT_NUMERIC.
Referenced by PCBEXPR_COMPONENT_CLASS_VALUE::AsString(), PCBEXPR_NET_VALUE::AsString(), PCBEXPR_NETCLASS_VALUE::AsString(), LIBEVAL::UOP::Exec(), and LIBEVAL::COMPILER::generateUCode().
|
inlineinherited |
Definition at line 269 of file libeval_compiler.h.
References m_isDeferredDbl, m_lambdaDbl, m_type, and LIBEVAL::VT_NUMERIC.
|
inlineinherited |
Definition at line 276 of file libeval_compiler.h.
References m_isDeferredStr, m_lambdaStr, m_type, and LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 298 of file libeval_compiler.h.
References m_units.
Referenced by LIBEVAL::UOP::Exec().
|
inlineinherited |
Definition at line 302 of file libeval_compiler.h.
References m_stringIsWildcard.
Referenced by PCBEXPR_COMPONENT_CLASS_VALUE::NotEqualTo(), and PCBEXPR_NETCLASS_VALUE::NotEqualTo().
|
mutableprivateinherited |
Definition at line 310 of file libeval_compiler.h.
Referenced by AsDouble(), SetDeferredEval(), VALUE(), VALUE(), and VALUE().
|
mutableprivateinherited |
Definition at line 313 of file libeval_compiler.h.
Referenced by AsString(), SetDeferredEval(), VALUE(), VALUE(), and VALUE().
|
protected |
Definition at line 236 of file pcbexpr_evaluator.cpp.
Referenced by AsString(), EqualTo(), NotEqualTo(), and PCBEXPR_NETCLASS_VALUE().
|
privateinherited |
Definition at line 311 of file libeval_compiler.h.
Referenced by AsDouble(), and SetDeferredEval().
|
privateinherited |
Definition at line 314 of file libeval_compiler.h.
Referenced by AsString(), and SetDeferredEval().
|
privateinherited |
Definition at line 308 of file libeval_compiler.h.
Referenced by EqualTo(), StringIsWildcard(), VALUE(), VALUE(), and VALUE().
|
privateinherited |
Definition at line 305 of file libeval_compiler.h.
Referenced by EqualTo(), GetType(), MakeNullValue(), NotEqualTo(), Set(), Set(), Set(), SetDeferredEval(), SetDeferredEval(), VALUE(), VALUE(), and VALUE().
|
privateinherited |
Definition at line 316 of file libeval_compiler.h.
Referenced by GetUnits(), SetUnits(), VALUE(), VALUE(), and VALUE().
|
mutableprivateinherited |
Definition at line 306 of file libeval_compiler.h.
Referenced by AsDouble(), Set(), Set(), VALUE(), VALUE(), and VALUE().
|
mutableprivateinherited |
Definition at line 307 of file libeval_compiler.h.
Referenced by AsString(), Set(), Set(), and VALUE().