inline std::auto_ptr<Preset> PresetIterator::allocate( PresetInputs & presetInputs, PresetOutputs & presetOutputs) { return m_presetChooser->directoryIndex(m_currentIndex, presetInputs, presetOutputs); }
inline std::unique_ptr<Preset> PresetIterator::allocate() { return _presetChooser->directoryIndex(_currentIndex); }
inline void PresetIterator::operator++() { assert(m_currentIndex < m_presetChooser->getNumPresets()); m_currentIndex++; }
inline void PresetIterator::operator++() { assert(_currentIndex < _presetChooser->size()); _currentIndex++; }