+ reimplement virtual methods in PropertyExpressionEngine

This commit is contained in:
wmayer 2015-09-25 00:52:44 +02:00
parent 1059ff14fc
commit e786cfbc90
2 changed files with 14 additions and 0 deletions

View File

@ -739,3 +739,13 @@ std::set<ObjectIdentifier> PropertyExpressionEngine::getPaths() const
return result;
}
PyObject *PropertyExpressionEngine::getPyObject(void)
{
Py_Return;
}
void PropertyExpressionEngine::setPyObject(PyObject *)
{
throw Base::RuntimeError("Property is read-only");
}

View File

@ -120,6 +120,10 @@ public:
void slotObjectRenamed(const App::DocumentObject & obj);
/* Python interface */
PyObject *getPyObject(void);
void setPyObject(PyObject *);
private:
typedef boost::adjacency_list< boost::listS, boost::vecS, boost::directedS > DiGraph;