1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html 2 3 #ifndef SPECTMORPH_MORPH_SOURCE_HH 4 #define SPECTMORPH_MORPH_SOURCE_HH 5 6 #include "smmorphoperator.hh" 7 8 #include <string> 9 10 namespace SpectMorph 11 { 12 13 class MorphSource : public MorphOperator 14 { 15 std::string m_smset; 16 public: 17 MorphSource (MorphPlan *morph_plan); 18 ~MorphSource(); 19 20 // inherited from MorphOperator 21 const char *type(); 22 int insert_order(); 23 bool save (OutFile& out_file); 24 bool load (InFile& in_file); 25 OutputType output_type(); 26 27 void set_smset (const std::string& smset); 28 std::string smset(); 29 }; 30 31 } 32 33 #endif 34