lilypond-1.1.55
[lilypond.git] / hdr / scorewalker.hh
blobfdbad24faef973a73d4c9a3f16cac05fb94a3351
1 /*
2 scorewalker.hh -- declare Score_walker
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef SCOREWALKER_HH
11 #define SCOREWALKER_HH
12 #include "pcursor.hh"
13 #include "proto.hh"
14 #include "varray.hh"
17 /**
18 walk through the score_columns, and while doing so, walk all staffs in a score.
20 class Score_walker : public PCursor<Score_column *>
22 Score* score_l_;
23 /// walkers for the individual staves.
24 Array<Staff_walker *> walker_p_arr_;
25 Array<Staff_walker *> disallow_break_walk_l_arr;
26 int disallow_break_count_;
27 void reinit();
28 public:
29 void allow_break(Staff_walker*w);
30 Score_walker(Score*);
31 ~Score_walker();
32 Moment when();
33 void operator++(int);
34 /// process staff walkers.
35 void process();
37 #endif // SCOREWALKER_HH