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