3 #ifndef SPECTMORPH_MORPH_OPERATOR_HH 4 #define SPECTMORPH_MORPH_OPERATOR_HH 6 #include "smoutfile.hh" 16 class MorphOperatorView;
28 typedef std::map<std::string, MorphOperator *> OpNameMap;
41 virtual const char *type() = 0;
42 virtual int insert_order() = 0;
43 virtual bool save (
OutFile& out_file) = 0;
44 virtual bool load (
InFile& in_file) = 0;
45 virtual void post_load (OpNameMap& op_name_map);
46 virtual OutputType output_type() = 0;
50 std::string type_name();
53 void set_name (
const std::string& name);
55 bool can_rename (
const std::string& name);
58 void set_id (
const std::string&
id);
61 void set_folded (
bool folded);
Definition: smoutfile.hh:15
Definition: smmorphplan.hh:15
Class to read SpectMorph binary data.
Definition: sminfile.hh:25
Definition: smmorphoperator.hh:19
Definition: smalignedarray.cc:7