1 #include "inputcommand.hh"
5 Input_command::Input_command()
10 Input_command::Input_command(Real w)
15 Input_command::operator Command()
29 else if (s == "METER")
33 else if (s == "GROUPING")
44 get_partial_command(Real u)
46 Input_command*c = new Input_command;
47 c->args.add("PARTIAL");
53 get_grouping_command(svec<int>a )
55 Input_command*c = new Input_command;
56 c->args.add("GROUPING");
57 for (int i=0; i < a.sz(); i ++)
64 get_key_interpret_command(svec<String>a )
66 Input_command*c = new Input_command;
68 for (int i=0; i < a.sz(); i ++)
77 Input_command*c = new Input_command;
83 get_meterchange_command(int n, int m)
85 Input_command*c = new Input_command;
87 c->args.add( "METER");
95 get_bar_command(Real w)
97 Input_command*c = new Input_command;
106 get_skip_command(int n, Real m)
108 Input_command*c = new Input_command;
110 c->args.add( "SKIP");
119 Input_command::print()const
121 mtor << "{ at " << when;
124 for (int i = 0; i<args.sz(); i++)
125 mtor << "`"<<args[i] <<"',";
131 get_clef_interpret_command(String w)
133 Input_command*c = new Input_command;