MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::details::FretboardDiagram::Barre Class Reference

Represents a barre (spanning multiple strings). More...

#include <Details.h>

Static Public Member Functions

static const xml::XmlElementArray< Barre > & xmlMappingArray ()
 Required for musx::factory::FieldPopulator.
 

Public Attributes

int fret {}
 0-based fret number counting from the diagram's first fret, so 0 is the fret that Cell identifies as fret 1. This differs from Cell::fret, which reserves 0 for the open string; a barre's equivalent cell fret is always fret + 1.
 
int startString {}
 Starting 1-based string number. This is the lowest-numbered string in the barre.
 
int endString {}
 Ending 1-based string number. This is the highest-numbered string in the barre.
 

Detailed Description

Represents a barre (spanning multiple strings).