| 45 | IE_CORE_DEFINERUNTIMETYPED( FrameListParameter ); |
| 46 | |
| 47 | static StringParameter::ObjectPresetsContainer convertPresets( const FrameListParameter::PresetsContainer &p ) |
| 48 | { |
| 49 | StringParameter::ObjectPresetsContainer result; |
| 50 | for( FrameListParameter::PresetsContainer::const_iterator it=p.begin(); it!=p.end(); it++ ) |
| 51 | { |
| 52 | result.push_back( StringParameter::ObjectPresetsContainer::value_type( it->first, new StringData( it->second ) ) ); |
| 53 | } |
| 54 | return result; |
| 55 | } |
| 56 | |
| 57 | FrameListParameter::FrameListParameter( const std::string &name, const std::string &description, const std::string &defaultValue, bool allowEmptyList, |
| 58 | const PresetsContainer &presets, bool presetsOnly, ConstCompoundObjectPtr userData ) |
no test coverage detected