Skip to content

Commit

Permalink
make trill part of att enclosingChars
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Oct 17, 2023
1 parent a5ab4ba commit 98c15df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/vrv/trill.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ namespace vrv {
class Trill : public ControlElement,
public TimeSpanningInterface,
public AttColor,
public AttEnclosingChars,
public AttExtender,
public AttExtSymAuth,
public AttExtSymNames,
Expand Down
2 changes: 2 additions & 0 deletions src/iomei.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2258,6 +2258,7 @@ void MEIOutput::WriteTrill(pugi::xml_node currentNode, Trill *trill)
this->WriteControlElement(currentNode, trill);
this->WriteTimeSpanningInterface(currentNode, trill);
trill->WriteColor(currentNode);
trill->WriteEnclosingChars(currentNode);
trill->WriteExtender(currentNode);
trill->WriteExtSymAuth(currentNode);
trill->WriteExtSymNames(currentNode);
Expand Down Expand Up @@ -5957,6 +5958,7 @@ bool MEIInput::ReadTrill(Object *parent, pugi::xml_node trill)

this->ReadTimeSpanningInterface(trill, vrvTrill);
vrvTrill->ReadColor(trill);
vrvTrill->ReadEnclosingChars(trill);
vrvTrill->ReadExtender(trill);
vrvTrill->ReadExtSymAuth(trill);
vrvTrill->ReadExtSymNames(trill);
Expand Down
3 changes: 3 additions & 0 deletions src/trill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Trill::Trill()
: ControlElement(TRILL, "trill-")
, TimeSpanningInterface()
, AttColor()
, AttEnclosingChars()
, AttExtender()
, AttExtSymAuth()
, AttExtSymNames()
Expand All @@ -40,6 +41,7 @@ Trill::Trill()
{
this->RegisterInterface(TimeSpanningInterface::GetAttClasses(), TimeSpanningInterface::IsInterface());
this->RegisterAttClass(ATT_COLOR);
this->RegisterAttClass(ATT_ENCLOSINGCHARS);
this->RegisterAttClass(ATT_EXTENDER);
this->RegisterAttClass(ATT_EXTSYMAUTH);
this->RegisterAttClass(ATT_EXTSYMNAMES);
Expand All @@ -58,6 +60,7 @@ void Trill::Reset()
ControlElement::Reset();
TimeSpanningInterface::Reset();
this->ResetColor();
this->ResetEnclosingChars();
this->ResetExtender();
this->ResetExtSymAuth();
this->ResetExtSymNames();
Expand Down

0 comments on commit 98c15df

Please sign in to comment.