KiCad PCB EDA Suite
|
#include <pcb_expr_evaluator.h>
Public Member Functions | |
PCB_EXPR_TYPE_REF (int aItemIndex) | |
LIBEVAL::VALUE * | GetValue (LIBEVAL::CONTEXT *aCtx) override |
void | SetIsEnum (bool s) |
bool | IsEnum () 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 |
Definition at line 148 of file pcb_expr_evaluator.h.
|
inline |
Definition at line 151 of file pcb_expr_evaluator.h.
References PCB_EXPR_VAR_REF::SetType(), and LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 101 of file pcb_expr_evaluator.h.
References PCB_EXPR_VAR_REF::m_matchingTypes.
|
inherited |
Definition at line 36 of file pcb_expr_evaluator.cpp.
References PCB_EXPR_CONTEXT::GetItem(), and PCB_EXPR_VAR_REF::m_itemIndex.
Referenced by enclosedByAreaFunc(), existsOnLayerFunc(), fromToFunc(), getFieldFunc(), PCB_EXPR_VAR_REF::GetValue(), PCB_EXPR_NETCLASS_REF::GetValue(), PCB_EXPR_NETNAME_REF::GetValue(), GetValue(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isMicroVia(), isPlatedFunc(), and memberOfFunc().
|
inlineoverridevirtualinherited |
Implements LIBEVAL::VAR_REF.
Definition at line 99 of file pcb_expr_evaluator.h.
References PCB_EXPR_VAR_REF::m_type.
|
overridevirtual |
Reimplemented from PCB_EXPR_VAR_REF.
Definition at line 169 of file pcb_expr_evaluator.cpp.
References PCB_EXPR_VAR_REF::GetObject(), and EDA_ITEM::Type().
|
inlineinherited |
|
inlineinherited |
Definition at line 95 of file pcb_expr_evaluator.h.
References PCB_EXPR_VAR_REF::m_isEnum.
|
inlineinherited |
Definition at line 98 of file pcb_expr_evaluator.h.
References PCB_EXPR_VAR_REF::m_type.
Referenced by PCB_EXPR_NETCLASS_REF::PCB_EXPR_NETCLASS_REF(), PCB_EXPR_NETNAME_REF::PCB_EXPR_NETNAME_REF(), and PCB_EXPR_TYPE_REF().
|
privateinherited |
Definition at line 114 of file pcb_expr_evaluator.h.
Referenced by PCB_EXPR_VAR_REF::GetValue(), PCB_EXPR_VAR_REF::IsEnum(), and PCB_EXPR_VAR_REF::SetIsEnum().
|
privateinherited |
Definition at line 112 of file pcb_expr_evaluator.h.
Referenced by PCB_EXPR_VAR_REF::GetObject(), and PCB_EXPR_VAR_REF::GetValue().
|
privateinherited |
Definition at line 111 of file pcb_expr_evaluator.h.
Referenced by PCB_EXPR_VAR_REF::AddAllowedClass(), and PCB_EXPR_VAR_REF::GetValue().
|
privateinherited |
Definition at line 113 of file pcb_expr_evaluator.h.
Referenced by PCB_EXPR_VAR_REF::GetType(), PCB_EXPR_VAR_REF::GetValue(), and PCB_EXPR_VAR_REF::SetType().