KiCad PCB EDA Suite
|
#include <pcbexpr_evaluator.h>
Public Member Functions | |
PCBEXPR_BUILTIN_FUNCTIONS () | |
LIBEVAL::FUNC_CALL_REF | Get (const wxString &name) |
const wxArrayString | GetSignatures () const |
void | RegisterFunc (const wxString &funcSignature, LIBEVAL::FUNC_CALL_REF funcPtr) |
void | RegisterAllFunctions () |
Static Public Member Functions | |
static PCBEXPR_BUILTIN_FUNCTIONS & | Instance () |
Private Attributes | |
std::map< wxString, LIBEVAL::FUNC_CALL_REF > | m_funcs |
wxArrayString | m_funcSigs |
Definition at line 170 of file pcbexpr_evaluator.h.
PCBEXPR_BUILTIN_FUNCTIONS::PCBEXPR_BUILTIN_FUNCTIONS | ( | ) |
Definition at line 1252 of file pcbexpr_functions.cpp.
References RegisterAllFunctions().
|
inline |
Definition at line 181 of file pcbexpr_evaluator.h.
Referenced by PCBEXPR_UCODE::CreateFuncCall().
|
inline |
Definition at line 186 of file pcbexpr_evaluator.h.
References m_funcSigs.
Referenced by PANEL_SETUP_RULES::onScintillaCharAdded().
|
inlinestatic |
Definition at line 175 of file pcbexpr_evaluator.h.
Referenced by PCBEXPR_UCODE::CreateFuncCall(), and PANEL_SETUP_RULES::onScintillaCharAdded().
void PCBEXPR_BUILTIN_FUNCTIONS::RegisterAllFunctions | ( | ) |
Definition at line 1258 of file pcbexpr_functions.cpp.
References enclosedByAreaFunc(), existsOnLayerFunc(), fromToFunc(), getFieldFunc(), hasComponentClassFunc(), hasNetclassFunc(), inDiffPairFunc(), intersectsAreaFunc(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), isBlindBuriedViaFunc(), isCoupledDiffPairFunc(), isMicroVia(), isPlatedFunc(), m_funcs, memberOfFootprintFunc(), memberOfGroupFunc(), memberOfSheetFunc(), and RegisterFunc().
Referenced by PCBEXPR_BUILTIN_FUNCTIONS().
|
inline |
Definition at line 191 of file pcbexpr_evaluator.h.
References m_funcs, and m_funcSigs.
Referenced by RegisterAllFunctions().
|
private |
Definition at line 201 of file pcbexpr_evaluator.h.
Referenced by Get(), RegisterAllFunctions(), and RegisterFunc().
|
private |
Definition at line 203 of file pcbexpr_evaluator.h.
Referenced by GetSignatures(), and RegisterFunc().