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

Function compoundParameterItems

src/IECorePython/CompoundParameterBinding.cpp:125–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static boost::python::list compoundParameterItems( const CompoundParameter &o )
126{
127 boost::python::list result;
128 CompoundParameter::ParameterVector::const_iterator it;
129 for( it = o.orderedParameters().begin(); it!=o.orderedParameters().end(); it++ )
130 {
131 result.append( boost::python::make_tuple( (*it)->name(), *it ) );
132 }
133 return result;
134}
135
136static void compoundParameterAddParameters( CompoundParameter &o, const boost::python::list &p )
137{

Callers

nothing calls this directly

Calls 4

appendMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected