3 #ifndef SPECTMORPH_MORPH_PLAN_HH 4 #define SPECTMORPH_MORPH_PLAN_HH 7 #include "smmorphoperator.hh" 19 std::vector<MorphOperator *> m_operators;
21 std::string index_filename;
33 virtual std::string section() = 0;
34 virtual void save (
OutFile& out_file) = 0;
35 virtual void handle_event (
InFile& ifile) = 0;
46 void add_operator (
MorphOperator *op, AddPos = ADD_POS_END,
const std::string& name =
"",
const std::string&
id =
"",
bool load_folded =
false);
47 const std::vector<MorphOperator *>&
operators();
51 void set_plan_str (
const std::string& plan_str);
52 void emit_plan_changed();
53 void emit_index_changed();
60 static std::string id_chars();
61 static std::string generate_id();
67 void need_view_rebuild();
Generic Input Stream.
Definition: smgenericin.hh:17
Definition: smoutfile.hh:15
Definition: smmorphplan.hh:15
const std::vector< MorphOperator * > & operators()
Definition: smmorphplan.cc:308
Class to read SpectMorph binary data.
Definition: sminfile.hh:25
Definition: smmorphoperator.hh:19
Definition: smindex.hh:19
Definition: smalignedarray.cc:7
Generic Output Stream.
Definition: smgenericout.hh:17
Error load(GenericIn *in, ExtraParameters *params=nullptr)
Definition: smmorphplan.cc:151
Definition: smobject.hh:12
bool load_index(const std::string &filename)
Definition: smmorphplan.cc:61