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