+ reimplement virtual methods in PropertyExpressionEngine
This commit is contained in:
parent
1059ff14fc
commit
e786cfbc90
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user