LibMusicXML 3.18
bsrPageHeadings_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 bsrPageHeading : public bsrLine
8{
9 public:
10
11 // creation
12 // ------------------------------------------------------
13
14 static SMARTP<bsrPageHeading> create (
15 int inputLineNumber,
16 string pageHeadingTitle,
17 S_bsrPagination pageHeadingPagination,
18 int pageHeadingNumber);
19
20 protected:
21
22 // constructors/destructor
23 // ------------------------------------------------------
24
26 int inputLineNumber,
27 string pageHeadingTitle,
28 S_bsrPagination pageHeadingPagination,
29 int pageHeadingNumber);
30
31 virtual ~bsrPageHeading ();
32
33 public:
34
35 // set and get
36 // ------------------------------------------------------
37
38 string getPageHeadingTitle () const
39 { return fPageHeadingTitle; }
40
41 S_bsrPagination getPageHeadingPagination () const
42 { return fPageHeadingPagination; }
43
44 int getPageHeadingNumber () const
45 { return fPageHeadingNumber; }
46
47 public:
48
49 // public services
50 // ------------------------------------------------------
51
52 S_bsrCellsList fetchCellsList () const
53 { return buildCellsList (); }
54
55 private:
56
57 // private services
58 // ------------------------------------------------------
59
60 S_bsrCellsList buildCellsList () const;
61
62 public:
63
64 // visitors
65 // ------------------------------------------------------
66
67 virtual void acceptIn (basevisitor* v);
68 virtual void acceptOut (basevisitor* v);
69
70 virtual void browseData (basevisitor* v);
71
72 public:
73
74 // print
75 // ------------------------------------------------------
76
77 string asString () const;
78
79 virtual void print (ostream& os) const;
80
81 private:
82
83 // fields
84 // ------------------------------------------------------
85
86 string fPageHeadingTitle;
87
88 S_bsrPagination fPageHeadingPagination; // before title
89 int fPageHeadingNumber; // after title ??? JMI
90};
91typedef SMARTP<bsrPageHeading> S_bsrPageHeading;
92EXP ostream& operator<< (ostream& os, const S_bsrPageHeading& elt);
93
Definition: bsrLines_MUT_DEP.h:111
Definition: bsrPageHeadings_MUT_DEP.h:8