LibMusicXML 3.18
bsrLineElements_MUT_DEP.h
1/*
2 This file is to be included only by bsrMutualDependencies.h,
3 to satisfy declarations mutual dependencies.
4*/
5
6//______________________________________________________________________________
7class bsrLineElement : public bsrElement
8{
9 public:
10
11 // creation
12 // ------------------------------------------------------
13
14/*
15 static SMARTP<bsrLineElement> create (
16 int inputLineNumber);
17*/
18
19 protected:
20
21 // constructors/destructor
22 // ------------------------------------------------------
23
25 int inputLineNumber);
26
27 virtual ~bsrLineElement ();
28
29 public:
30
31 // set and get
32 // ------------------------------------------------------
33
34 void setBsrLineUpLink (
35 S_bsrLine bsrLineUpLink);
36
37 S_bsrLine getBsrLineUpLink () const;
38
39
40 void setSpacesBefore (int value)
41 { fSpacesBefore = value; }
42
43 int getSpacesBefore () const
44 { return fSpacesBefore; }
45
46 public:
47
48 // services
49 // ------------------------------------------------------
50
51
52 virtual S_bsrCellsList
53 fetchCellsList () const = 0;
54
55 virtual int fetchCellsNumber () const = 0;
56
57 public:
58
59 // visitors
60 // ------------------------------------------------------
61
62 virtual void acceptIn (basevisitor* v);
63 virtual void acceptOut (basevisitor* v);
64
65 virtual void browseData (basevisitor* v);
66
67 public:
68
69 // print
70 // ------------------------------------------------------
71
72 virtual std::string asString () const;
73
74 virtual std::string asShortString () const;
75
76 virtual void print (ostream& os) const;
77
78 protected:
79
80 // fields
81 // ------------------------------------------------------
82
83 S_bsrLine fBsrLineUpLink;
84
85 int fSpacesBefore;
86};
87typedef SMARTP<bsrLineElement> S_bsrLineElement;
88EXP ostream& operator<< (ostream& os, const S_bsrLineElement& elt);
89
Definition: bsrLineElements_MUT_DEP.h:8