28 std::map<std::string, ParameterSharedPtr> overriddenParams;
29 params->getOverriddenParameters(origContext, overriddenParams);
30 for(std::map<std::string, ParameterSharedPtr>::iterator it = overriddenParams.begin();
31 it != overriddenParams.end(); ++it) {
33 clonedParams->set(clonedContext, (*it).first, clonedParam);
boost::shared_ptr< Instance > InstanceSharedPtr
Represents an instantiation of a cell view in the view of another cell.
virtual ParameterContext getParameterContext() const
boost::shared_ptr< Parameter > ParameterSharedPtr
boost::shared_ptr< ObjectFactory > ObjectFactorySharedPtr
boost::shared_ptr< _Tp > clone(const boost::shared_ptr< _Tp > &inPointer, const ObjectFactorySharedPtr &inFactory)
virtual ParameterMapSharedPtr getParameters() const
void copyParams(const Instance &inOriginal, const InstanceSharedPtr &outCloned, const ObjectFactorySharedPtr &inFactory)
boost::shared_ptr< ParameterMap > ParameterMapSharedPtr