PyObject* IcePy::DefaultValueFactory::getValueFactory() const { if(_delegate) { FactoryWrapperPtr w = FactoryWrapperPtr::dynamicCast(_delegate); if(w) { return w->getValueFactory(); } } Py_INCREF(Py_None); return Py_None; }
PyObject* IcePy::ValueFactoryManager::findValueFactory(const string& id) const { Ice::ValueFactoryPtr f = find(id); if(f) { FactoryWrapperPtr w = FactoryWrapperPtr::dynamicCast(f); if(w) { return w->getValueFactory(); } } Py_INCREF(Py_None); return Py_None; }