/// a group of #Atom#s
struct Molecule {
- PointerList<Atom*> ats;
+ IPointerList<Atom*> ats;
Molecule() { }
Molecule(Atom a) { add(a) ; }
Paperdef *paper_; // indirection.
/// the columns, ordered left to right
- PointerList<PCol *> cols;
+ IPointerList<PCol *> cols;
/// the idealspacings, no particular order
- PointerList<Idealspacing*> suz;
+ IPointerList<Idealspacing*> suz;
/// the staffs ordered top to bottom
- PointerList<PStaff*> staffs;
+ IPointerList<PStaff*> staffs;
/// all symbols in score. No particular order.
- PointerList<Item*> its;
+ IPointerList<Item*> its;
/// if broken, the different lines
- PointerList<Line_of_score*> lines;
+ IPointerList<Line_of_score*> lines;
/// crescs etc; no particular order
- PointerList<Spanner *> spanners;
+ IPointerList<Spanner *> spanners;
/****************************************************************/
struct Score {
/// paper_, staffs_ and commands_ form the problem definition.
Paperdef *paper_;
- PointerList<Staff *> staffs_;
+ IPointerList<Staff*> staffs_;
Score_commands *commands_;
/// "runtime" fields for setting up spacing
- PointerList<Score_column*> cols_;
+ IPointerList<Score_column*> cols_;
PScore *pscore_;
/****************************************************************/
/// base class for a collection of voices.
struct Staff {
/// synchronous horizontal stuff
- PointerList<Voice*> voices;
+ IPointerList<Voice*> voices;
/// commands in chronological order
- PointerList<Command *> commands;
+ IPointerList<Command *> commands;
/// runtime field
- PointerList<Staff_column*> cols;
+ IPointerList<Staff_column*> cols;
/// indirections to the Score and PScore
Score *score_;
/// one broken line of staff.
struct Line_of_staff {
- PointerList<Spanner *> brokenspans;
+ IPointerList<Spanner *> brokenspans;
Line_of_score const * scor;
const PStaff *pstaff_;