MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::Entry::EntryLocation Struct Reference

The location of this entry as calculated by calcLocations, which is called by the factory. More...

#include <Entries.h>

Public Member Functions

bool found () const
 Returns if this entry has been found.
 
void clear ()
 Clears the entry location. (Mainly used for benchmarking.)
 

Public Attributes

StaffCmper staffId {}
 The staff containing this entry.
 
MeasCmper measureId {}
 The measure containing this entry.
 
LayerIndex layerIndex {}
 The layer containing this entry within the measure.
 
size_t entryIndex {}
 The 0-based index of this entry within its layer.
 

Detailed Description

The location of this entry as calculated by calcLocations, which is called by the factory.

Any mirrors that are encountered are ignored. This is the source location of the entry. (Mirrors were deprecated after Finale 2014.5, so they should be relatively rare in musx files.)