| 
    KiCad PCB EDA Suite
    
   | 
 
#include <pcbexpr_evaluator.h>
  
Public Member Functions | |
| PCBEXPR_COMPONENT_CLASS_REF (int aItemIndex) | |
| LIBEVAL::VALUE * | GetValue (LIBEVAL::CONTEXT *aCtx) override | 
| void | SetIsEnum (bool s) | 
| bool | IsEnum () const | 
| void | SetIsOptional (bool s=true) | 
| bool | IsOptional () const | 
| void | SetType (LIBEVAL::VAR_TYPE_T type) | 
| LIBEVAL::VAR_TYPE_T | GetType () const override | 
| void | AddAllowedClass (TYPE_ID type_hash, PROPERTY_BASE *prop) | 
| BOARD_ITEM * | GetObject (const LIBEVAL::CONTEXT *aCtx) const | 
Private Attributes | |
| std::unordered_map< TYPE_ID, PROPERTY_BASE * > | m_matchingTypes | 
| int | m_itemIndex | 
| LIBEVAL::VAR_TYPE_T | m_type | 
| bool | m_isEnum | 
| bool | m_isOptional | 
Definition at line 138 of file pcbexpr_evaluator.h.
      
  | 
  inline | 
Definition at line 141 of file pcbexpr_evaluator.h.
References PCBEXPR_VAR_REF::PCBEXPR_VAR_REF(), PCBEXPR_VAR_REF::SetType(), and LIBEVAL::VT_STRING.
      
  | 
  inlineinherited | 
Definition at line 105 of file pcbexpr_evaluator.h.
References m_matchingTypes.
      
  | 
  inherited | 
Definition at line 43 of file pcbexpr_evaluator.cpp.
References PCBEXPR_CONTEXT::GetItem(), and m_itemIndex.
Referenced by enclosedByAreaFunc(), existsOnLayerFunc(), fromToFunc(), getFieldFunc(), PCBEXPR_COMPONENT_CLASS_REF::GetValue(), PCBEXPR_NETCLASS_REF::GetValue(), PCBEXPR_NETNAME_REF::GetValue(), PCBEXPR_TYPE_REF::GetValue(), GetValue(), hasComponentClassFunc(), hasExactNetclassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isBlindVia(), isBuriedVia(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), and memberOfSheetOrChildrenFunc().
      
  | 
  inlineoverridevirtualinherited | 
      
  | 
  overridevirtual | 
Implements LIBEVAL::VAR_REF.
Definition at line 496 of file pcbexpr_evaluator.cpp.
References PCBEXPR_VAR_REF::GetObject(), PCB_FOOTPRINT_T, and EDA_ITEM::Type().
      
  | 
  inlineinherited | 
Definition at line 97 of file pcbexpr_evaluator.h.
References m_isEnum.
      
  | 
  inlineinherited | 
Definition at line 100 of file pcbexpr_evaluator.h.
References m_isOptional.
      
  | 
  inlineinherited | 
Definition at line 96 of file pcbexpr_evaluator.h.
References m_isEnum.
      
  | 
  inlineinherited | 
Definition at line 99 of file pcbexpr_evaluator.h.
References m_isOptional.
      
  | 
  inlineinherited | 
Definition at line 102 of file pcbexpr_evaluator.h.
References m_type.
Referenced by PCBEXPR_COMPONENT_CLASS_REF::PCBEXPR_COMPONENT_CLASS_REF(), PCBEXPR_NETCLASS_REF::PCBEXPR_NETCLASS_REF(), PCBEXPR_NETNAME_REF::PCBEXPR_NETNAME_REF(), and PCBEXPR_TYPE_REF::PCBEXPR_TYPE_REF().
      
  | 
  privateinherited | 
Definition at line 118 of file pcbexpr_evaluator.h.
Referenced by GetValue(), IsEnum(), PCBEXPR_VAR_REF(), and SetIsEnum().
      
  | 
  privateinherited | 
Definition at line 119 of file pcbexpr_evaluator.h.
Referenced by GetValue(), IsOptional(), PCBEXPR_VAR_REF(), and SetIsOptional().
      
  | 
  privateinherited | 
Definition at line 116 of file pcbexpr_evaluator.h.
Referenced by GetObject(), GetValue(), and PCBEXPR_VAR_REF().
      
  | 
  privateinherited | 
Definition at line 115 of file pcbexpr_evaluator.h.
Referenced by AddAllowedClass(), and GetValue().
      
  | 
  privateinherited | 
Definition at line 117 of file pcbexpr_evaluator.h.
Referenced by GetType(), GetValue(), PCBEXPR_VAR_REF(), and SetType().