lilypond-1.1.44
[lilypond.git] / lily / include / input-register.hh
blobf1988b0374c84e640d27ea2038185261ca789b9b
1 /*
2 input-register.hh -- declare Input_register
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef INPUT_REGISTER_HH
11 #define INPUT_REGISTER_HH
13 #include "plist.hh"
14 #include "string.hh"
15 #include "lily-proto.hh"
16 #include "input.hh"
17 #include "string.hh"
18 #include "varray.hh"
20 struct Input_register : Input {
21 Pointer_list<Input_register*> contains_ireg_p_list_;
22 Array<String> consists_str_arr_;
23 Array<String> alias_str_arr_;
24 String name_str_;
26 void add(Input_register *);
27 bool is_name_b(String);
28 bool accept_req_b();
29 bool accepts_b(String);
30 void print() const;
31 Register_group_register * get_group_register_p();
32 Input_register * get_default_ireg_l();
33 Input_register * recursive_find(String nm);
34 Input_register * find_ireg_l(String nm);
38 void add_global_input_register(Input_register* ireg_p);
39 Input_register*lookup_reg(String);
40 Request_register*get_register_p(String s);
42 #endif // INPUT_REGISTER_HH