| 562 | } |
| 563 | |
| 564 | const boost::any PropertyExpressionEngine::getPathValue(const App::ObjectIdentifier& path) const |
| 565 | { |
| 566 | // Get a canonical path |
| 567 | ObjectIdentifier usePath(canonicalPath(path)); |
| 568 | |
| 569 | auto i = expressions.find(usePath); |
| 570 | if (i != expressions.end()) { |
| 571 | return i->second; |
| 572 | } |
| 573 | |
| 574 | return boost::any(); |
| 575 | } |
| 576 | |
| 577 | void PropertyExpressionEngine::setValue(const ObjectIdentifier& path, |
| 578 | std::shared_ptr<Expression> expr) |
no test coverage detected