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

Method getProperty

src/App/Expression.cpp:2890–2898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2888}
2889
2890const Property * VariableExpression::getProperty() const
2891{
2892 const Property * prop = var.getProperty();
2893
2894 if (prop)
2895 return prop;
2896 else
2897 throw Expression::Exception(var.resolveErrorString().c_str());
2898}
2899
2900void VariableExpression::addComponent(Component *c) {
2901 do {

Callers

nothing calls this directly

Calls 3

resolveErrorStringMethod · 0.80
ExceptionClass · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected