|
KiCad PCB EDA Suite
|
#include <pcbexpr_evaluator.h>
Public Member Functions | |
| PCBEXPR_BUILTIN_FUNCTIONS () | |
| LIBEVAL::FUNC_CALL_REF | Get (const wxString &name) |
| bool | IsGeometryDependent (const wxString &name) const |
| const wxArrayString | GetSignatures () const |
| void | RegisterFunc (const wxString &funcSignature, LIBEVAL::FUNC_CALL_REF funcPtr, bool aIsGeometryDependent=false) |
| void | RegisterAllFunctions () |
Static Public Member Functions | |
| static PCBEXPR_BUILTIN_FUNCTIONS & | Instance () |
Private Attributes | |
| std::map< wxString, LIBEVAL::FUNC_CALL_REF > | m_funcs |
| std::set< wxString > | m_geometryDependentFuncs |
| wxArrayString | m_funcSigs |
Definition at line 183 of file pcbexpr_evaluator.h.
| PCBEXPR_BUILTIN_FUNCTIONS::PCBEXPR_BUILTIN_FUNCTIONS | ( | ) |
Definition at line 1498 of file pcbexpr_functions.cpp.
References RegisterAllFunctions().
Referenced by Instance().
|
inline |
Definition at line 194 of file pcbexpr_evaluator.h.
Referenced by PCBEXPR_UCODE::CreateFuncCall().
|
inline |
Definition at line 204 of file pcbexpr_evaluator.h.
References m_funcSigs.
Referenced by PANEL_DRC_RULE_EDITOR::onScintillaCharAdded(), and PANEL_SETUP_RULES::onScintillaCharAdded().
|
inlinestatic |
Definition at line 188 of file pcbexpr_evaluator.h.
References PCBEXPR_BUILTIN_FUNCTIONS().
Referenced by PCBEXPR_UCODE::CreateFuncCall(), PANEL_DRC_RULE_EDITOR::onScintillaCharAdded(), and PANEL_SETUP_RULES::onScintillaCharAdded().
|
inline |
Definition at line 199 of file pcbexpr_evaluator.h.
References m_geometryDependentFuncs, and name.
Referenced by PCBEXPR_UCODE::CreateFuncCall().
| void PCBEXPR_BUILTIN_FUNCTIONS::RegisterAllFunctions | ( | ) |
Definition at line 1504 of file pcbexpr_functions.cpp.
References enclosedByAreaFunc(), existsOnLayerFunc(), fromToFunc(), getFieldFunc(), hasComponentClassFunc(), hasExactNetclassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isBlindVia(), isBuriedVia(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), m_funcs, memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), memberOfSheetOrChildrenFunc(), and RegisterFunc().
Referenced by PCBEXPR_BUILTIN_FUNCTIONS().
|
inline |
Definition at line 209 of file pcbexpr_evaluator.h.
References m_funcs, m_funcSigs, and m_geometryDependentFuncs.
Referenced by RegisterAllFunctions().
|
private |
Definition at line 224 of file pcbexpr_evaluator.h.
Referenced by Get(), RegisterAllFunctions(), and RegisterFunc().
|
private |
Definition at line 227 of file pcbexpr_evaluator.h.
Referenced by GetSignatures(), and RegisterFunc().
|
private |
Definition at line 225 of file pcbexpr_evaluator.h.
Referenced by IsGeometryDependent(), and RegisterFunc().