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