flower-1.0.27
[lilypond.git] / src / scriptdef.cc
blob508ae6a24ba939b5f1816c21ecdf93c1878fc75b
1 #include "debug.hh"
2 #include "scriptdef.hh"
4 Script_def::Script_def(String idx, int stem, int staff ,bool invert)
6 symidx = idx ;
7 stemdir =stem;
8 staffdir = staff;
9 invertsym = invert;
11 void
12 Script_def::print() const
14 mtor << "idx: " << symidx;
15 mtor << "direction, stem: " << stemdir << " staff : " << staffdir;
17 int
18 Script_def::compare(Script_def const & c)
20 return !(symidx == c.symidx &&
21 stemdir == c.stemdir&&
22 staffdir == c.staffdir&&
23 invertsym == c.invertsym);