LibMusicXML 3.18
bsrPageElements_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 bsrPageElement : public bsrElement
8{
9 public:
10
11 // creation
12 // ------------------------------------------------------
13
14/*
15 static SMARTP<bsrPageElement> create (
16 int inputLineNumber);
17*/
18
19 protected:
20
21 // constructors/destructor
22 // ------------------------------------------------------
23
25 int inputLineNumber);
26
27 virtual ~bsrPageElement ();
28
29 public:
30
31 // set and get
32 // ------------------------------------------------------
33
34 void setBsrPageUpLink (
35 S_bsrPage bsrPageUpLink);
36
37 S_bsrPage getBsrPageUpLink () const;
38
39 void setSpacesBefore (int value)
40 { fSpacesBefore = value; }
41
42 int getSpacesBefore () const
43 { return fSpacesBefore; }
44
45/*
46 int getSpacesAfter () const
47 { return fSpacesAfter; }
48*/
49
50 public:
51
52 // services
53 // ------------------------------------------------------
54
55 virtual int fetchLineContentsNumber () const // JMI ???
56 { return 0; }
57
58 public:
59
60 // visitors
61 // ------------------------------------------------------
62
63 virtual void acceptIn (basevisitor* v);
64 virtual void acceptOut (basevisitor* v);
65
66 virtual void browseData (basevisitor* v);
67
68 public:
69
70 // print
71 // ------------------------------------------------------
72
73 virtual std::string asString () const;
74
75 virtual std::string asShortString () const;
76
77 virtual void print (ostream& os) const;
78
79 protected:
80
81 // fields
82 // ------------------------------------------------------
83
84 S_bsrPage fBsrPageUpLink;
85
86 int fSpacesBefore;
87 // JMI int fSpacesAfter;
88};
89typedef SMARTP<bsrPageElement> S_bsrPageElement;
90EXP ostream& operator<< (ostream& os, const S_bsrPageElement& elt);
91
Definition: bsrPageElements_MUT_DEP.h:8