14 std::string _barStyle;
15 std::string _direction;
16 std::string _location;
80 std::string
toXML(
const int identSize = 2)
const;
Represents a barline in a musical score, including style, direction, and location.
Definition: barline.h:12
Barline()
Constructs a new Barline object with default values.
std::string getDirection() const
Returns the repeat direction as a string.
void clean()
Clears all barline properties, resetting to default state.
std::string getBarStyle() const
Returns the barline style as a string.
void setRepeatStart()
Sets the barline as a repeat start (heavy-light, forward).
void setLocation(const std::string &location)
Sets the barline location.
std::string toXML(const int identSize=2) const
Serializes the barline to MusicXML format.
std::string getLocation() const
Returns the barline location as a string.
void setBarStyle(const std::string &barStyle)
Sets the barline style.
void setRepeatEnd()
Sets the barline as a repeat end (light-heavy, backward).
void setDirection(const std::string &direction)
Sets the repeat direction.