| 123 | } |
| 124 | |
| 125 | static 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 | |
| 136 | static void compoundParameterAddParameters( CompoundParameter &o, const boost::python::list &p ) |
| 137 | { |