KiCad PCB EDA Suite
|
#include <pcbexpr_evaluator.h>
Public Member Functions | |
PCBEXPR_NETCLASS_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 117 of file pcbexpr_evaluator.h.
|
inline |
Definition at line 120 of file pcbexpr_evaluator.h.
References PCBEXPR_VAR_REF::SetType(), and LIBEVAL::VT_STRING.
|
inlineinherited |
Definition at line 99 of file pcbexpr_evaluator.h.
References PCBEXPR_VAR_REF::m_matchingTypes.
|
inherited |
Definition at line 39 of file pcbexpr_evaluator.cpp.
References PCBEXPR_CONTEXT::GetItem(), and PCBEXPR_VAR_REF::m_itemIndex.
Referenced by enclosedByAreaFunc(), existsOnLayerFunc(), fromToFunc(), getFieldFunc(), PCBEXPR_VAR_REF::GetValue(), GetValue(), PCBEXPR_COMPONENT_CLASS_REF::GetValue(), PCBEXPR_NETNAME_REF::GetValue(), PCBEXPR_TYPE_REF::GetValue(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isMicroVia(), isPlatedFunc(), memberOfFootprintFunc(), memberOfGroupFunc(), and memberOfSheetFunc().
|
inlineoverridevirtualinherited |
Implements LIBEVAL::VAR_REF.
Definition at line 97 of file pcbexpr_evaluator.h.
References PCBEXPR_VAR_REF::m_type.
|
overridevirtual |
Reimplemented from PCBEXPR_VAR_REF.
Definition at line 339 of file pcbexpr_evaluator.cpp.
References PCBEXPR_VAR_REF::GetObject().
|
inlineinherited |
Definition at line 94 of file pcbexpr_evaluator.h.
References PCBEXPR_VAR_REF::m_isEnum.
|
inlineinherited |
Definition at line 93 of file pcbexpr_evaluator.h.
References PCBEXPR_VAR_REF::m_isEnum.
|
inlineinherited |
Definition at line 96 of file pcbexpr_evaluator.h.
References PCBEXPR_VAR_REF::m_type.
Referenced by PCBEXPR_COMPONENT_CLASS_REF::PCBEXPR_COMPONENT_CLASS_REF(), PCBEXPR_NETCLASS_REF(), PCBEXPR_NETNAME_REF::PCBEXPR_NETNAME_REF(), and PCBEXPR_TYPE_REF::PCBEXPR_TYPE_REF().
|
privateinherited |
Definition at line 112 of file pcbexpr_evaluator.h.
Referenced by PCBEXPR_VAR_REF::GetValue(), PCBEXPR_VAR_REF::IsEnum(), and PCBEXPR_VAR_REF::SetIsEnum().
|
privateinherited |
Definition at line 110 of file pcbexpr_evaluator.h.
Referenced by PCBEXPR_VAR_REF::GetObject(), and PCBEXPR_VAR_REF::GetValue().
|
privateinherited |
Definition at line 109 of file pcbexpr_evaluator.h.
Referenced by PCBEXPR_VAR_REF::AddAllowedClass(), and PCBEXPR_VAR_REF::GetValue().
|
privateinherited |
Definition at line 111 of file pcbexpr_evaluator.h.
Referenced by PCBEXPR_VAR_REF::GetType(), PCBEXPR_VAR_REF::GetValue(), and PCBEXPR_VAR_REF::SetType().