Adding python capabilities to the Result objects

This commit is contained in:
jriegel
2013-11-28 19:50:39 +01:00
parent 395c95a154
commit b8c80bd35c
7 changed files with 55 additions and 0 deletions

View File

@@ -58,3 +58,17 @@ PyObject *FemResultValue::getPyObject()
return Py::new_reference_to(PythonObject);
}
// Python feature ---------------------------------------------------------
namespace App {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(Fem::FemResultValuePython, Fem::FemResultValue)
template<> const char* Fem::FemResultValuePython::getViewProviderName(void) const {
return "FemGui::ViewProviderFemResultValuePython";
}
/// @endcond
// explicit template instantiation
template class AppFemExport FeaturePythonT<Fem::FemResultValue>;
}