]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/axis-group-administration.hh
release: 0.1.14
[lilypond.git] / lily / include / axis-group-administration.hh
1 /*
2   axis-group-administration.hh -- declare Axis_group_administration
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef AXIS_GROUP_ADMINISTRATION_HH
11 #define AXIS_GROUP_ADMINISTRATION_HH
12
13
14 #include "parray.hh"
15 #include "axes.hh"
16 #include "real.hh"
17 #include "lily-proto.hh"
18
19 /**
20   Do the dirty work for Axis_group_element.
21  */
22 struct Axis_group_administration {
23   Link_array<Graphical_element> elem_l_arr_;
24     
25   Interval extent (Axis) const;
26   void print() const ;
27   Axis_group_administration (Axis_group_administration const&);
28   Axis_group_administration(){}
29   void remove_all (Axis a1,   Axis a2);
30
31   bool contains_b (Graphical_element const *) const;
32   void add_element (Graphical_element*, Axis_group_element*, Axis a1, Axis a2);
33   void remove_element (Graphical_element*, Axis a1, Axis a2);
34 };
35
36 #endif // AXIS_GROUP_ADMINISTRATION_HH