MCPcopy Create free account
hub / github.com/ImageEngine/cortex / setParameterValue

Method setParameterValue

src/IECore/CompoundParameter.cpp:356–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void CompoundParameter::setParameterValue( const std::string &name, ObjectPtr value )
357{
358 ParameterPtr p = parameter<Parameter>( name );
359 if( !p )
360 {
361 throw Exception( string("Parameter ") + name + " doesn't exist" );
362 }
363 p->setValue( value );
364}
365
366void CompoundParameter::setValidatedParameterValue( const std::string &name, ObjectPtr value )
367{

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected