| 192 | } |
| 193 | |
| 194 | Object *CompoundParameter::getValue() |
| 195 | { |
| 196 | Object *value = Parameter::getValue(); |
| 197 | CompoundObject *tValue = runTimeCast<CompoundObject>( value ); |
| 198 | if( !tValue ) |
| 199 | { |
| 200 | return value; |
| 201 | } |
| 202 | |
| 203 | CompoundObject::ObjectMap &m = tValue->members(); |
| 204 | for( ParameterMap::const_iterator it=m_namesToParameters.begin(); it!=m_namesToParameters.end(); it++ ) |
| 205 | { |
| 206 | m[it->first] = it->second->getValue(); |
| 207 | } |
| 208 | return tValue; |
| 209 | } |
| 210 | |
| 211 | const Object *CompoundParameter::getValue() const |
| 212 | { |