Skip to content

Commit

Permalink
Add AttMensurLog class to Mensur
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Oct 18, 2023
1 parent d90deb7 commit 526cb8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/vrv/mensur.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class Mensur : public LayerElement,
public AttCue,
public AttDurationRatio,
public AttMensuralShared,
public AttMensurLog,
public AttMensurVis,
public AttSlashCount,
public AttStaffLoc {
Expand Down
2 changes: 2 additions & 0 deletions src/iomei.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2603,6 +2603,7 @@ void MEIOutput::WriteMensur(pugi::xml_node currentNode, Mensur *mensur)
mensur->WriteCue(currentNode);
mensur->WriteDurationRatio(currentNode);
mensur->WriteMensuralShared(currentNode);
mensur->WriteMensurLog(currentNode);
mensur->WriteMensurVis(currentNode);
mensur->WriteSlashCount(currentNode);
mensur->WriteStaffLoc(currentNode);
Expand Down Expand Up @@ -6647,6 +6648,7 @@ bool MEIInput::ReadMensur(Object *parent, pugi::xml_node mensur)
vrvMensur->ReadCue(mensur);
vrvMensur->ReadDurationRatio(mensur);
vrvMensur->ReadMensuralShared(mensur);
vrvMensur->ReadMensurLog(mensur);
vrvMensur->ReadMensurVis(mensur);
vrvMensur->ReadSlashCount(mensur);
vrvMensur->ReadStaffLoc(mensur);
Expand Down
3 changes: 3 additions & 0 deletions src/mensur.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Mensur::Mensur()
, AttCue()
, AttDurationRatio()
, AttMensuralShared()
, AttMensurLog()
, AttMensurVis()
, AttSlashCount()
, AttStaffLoc()
Expand All @@ -43,6 +44,7 @@ Mensur::Mensur()
this->RegisterAttClass(ATT_CUE);
this->RegisterAttClass(ATT_DURATIONRATIO);
this->RegisterAttClass(ATT_MENSURALSHARED);
this->RegisterAttClass(ATT_MENSURLOG);
this->RegisterAttClass(ATT_MENSURVIS);
this->RegisterAttClass(ATT_SLASHCOUNT);
this->RegisterAttClass(ATT_STAFFLOC);
Expand All @@ -59,6 +61,7 @@ void Mensur::Reset()
this->ResetCue();
this->ResetDurationRatio();
this->ResetMensuralShared();
this->ResetMensurLog();
this->ResetMensurVis();
this->ResetSlashCount();
this->ResetStaffLoc();
Expand Down

0 comments on commit 526cb8f

Please sign in to comment.