| 
    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) | 
| void | SetUnits (const EDA_UNITS aUnits) | 
| EDA_UNITS | GetUnits () const | 
| bool | StringIsWildcard () const | 
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 | 
| EDA_UNITS | m_units | 
Definition at line 103 of file pcbexpr_evaluator.cpp.
      
  | 
  inline | 
Definition at line 106 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::VALUE().
      
  | 
  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().
      
  | 
  inlinevirtualinherited | 
Reimplemented in PCBEXPR_COMPONENT_CLASS_VALUE, PCBEXPR_NET_VALUE, and PCBEXPR_NETCLASS_VALUE.
Definition at line 245 of file libeval_compiler.h.
References m_isDeferredStr, m_lambdaStr, and m_valueStr.
Referenced by PCBEXPR_COMPONENT_CLASS_VALUE::AsString(), PCBEXPR_NET_VALUE::AsString(), PCBEXPR_NETCLASS_VALUE::AsString(), enclosedByAreaFunc(), EqualTo(), PCBEXPR_PINTYPE_VALUE::EqualTo(), LIBEVAL::UOP::Exec(), existsOnLayerFunc(), fromToFunc(), getFieldFunc(), hasComponentClassFunc(), hasExactNetclassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), memberOfSheetOrChildrenFunc(), PCBEXPR_COMPONENT_CLASS_VALUE::NotEqualTo(), PCBEXPR_NETCLASS_VALUE::NotEqualTo(), and testEvalExpr().
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 110 of file pcbexpr_evaluator.cpp.
References LIBEVAL::VALUE::AsString(), and LIBEVAL::VALUE::VALUE().
      
  | 
  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().
Reimplemented in PCBEXPR_COMPONENT_CLASS_VALUE, PCBEXPR_NET_VALUE, and PCBEXPR_NETCLASS_VALUE.
Definition at line 146 of file libeval_compiler.cpp.
References EqualTo(), m_type, VALUE(), and LIBEVAL::VT_UNDEFINED.
Referenced by LIBEVAL::UOP::Exec(), PCBEXPR_COMPONENT_CLASS_VALUE::NotEqualTo(), PCBEXPR_NET_VALUE::NotEqualTo(), and PCBEXPR_NETCLASS_VALUE::NotEqualTo().
      
  | 
  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().
      
  | 
  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().