MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::LyricsLineInfo Class Reference

Contains information about a line of lyrics on a system. More...

#include <CommonClasses.h>

+ Inheritance diagram for musx::dom::LyricsLineInfo:

Public Member Functions

 LyricsLineInfo (const DocumentWeakPtr &document, Cmper requestedPartId, std::string_view type, Cmper lyricNo, Evpu baseline)
 Constructor function.
 

Public Attributes

Evpu baselinePosition
 baseline position of this line on this system, relative to the staff's reference line
 
std::string_view lyricsType
 the type of lyric ("chorus", "verse", or "section", corresponding to the xml tags for lyrics text)
 
Cmper lyricNumber
 the text number for all lyric assignments on this line.
 
MusxInstanceList< details::LyricAssignassignments
 The lyric assignments on this line. The all should share the same lyricNumber value.
 

Detailed Description

Contains information about a line of lyrics on a system.

Constructor & Destructor Documentation

◆ LyricsLineInfo()

musx::dom::LyricsLineInfo::LyricsLineInfo ( const DocumentWeakPtr document,
Cmper  requestedPartId,
std::string_view  type,
Cmper  lyricNo,
Evpu  baseline 
)
inline

Constructor function.

Parameters
documentThe document for this lyric line
requestedPartIdThe requested part ID for this lyric line.
typeThe type of lyric (from XmlNodeName string)
lyricNoThe lyric number for this line info.
baselineUse others::Staff::calcBaselinePosition for this value.