MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getExpression

Method getExpression

src/Gui/ExpressionBinding.cpp:137–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137std::shared_ptr<App::Expression> ExpressionBinding::getExpression() const
138{
139 DocumentObject* docObj = path.getDocumentObject();
140
141 Q_ASSERT(isBound() && docObj);
142
143 return docObj->getExpression(path).expression;
144}
145
146std::string ExpressionBinding::getExpressionString(bool no_throw) const
147{

Callers 6

openFormulaDialogMethod · 0.45
bindMethod · 0.45
updateTextMethod · 0.45
finishFormulaDialogMethod · 0.45
paintMethod · 0.45
openFormulaDialogMethod · 0.45

Calls 2

getDocumentObjectMethod · 0.80
isBoundFunction · 0.50

Tested by

no test coverage detected