void IceRuby::DefaultValueFactory::mark() { if(_delegate) { FactoryWrapperPtr w = FactoryWrapperPtr::dynamicCast(_delegate); if(w) { w->mark(); } } }
void IceRuby::ValueFactoryManager::mark() { Lock lock(*this); for(FactoryMap::iterator p = _factories.begin(); p != _factories.end(); ++p) { FactoryWrapperPtr w = FactoryWrapperPtr::dynamicCast(p->second); if(w) { w->mark(); } } _defaultFactory->mark(); }