Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Dec 14, 2024
1 parent 26cb9d0 commit cee3625
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 36 deletions.
5 changes: 1 addition & 4 deletions include/vrv/tie.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ class Note;
/**
* This class models the MEI <tie> element.
*/
class Tie : public ControlElement,
public TimeSpanningInterface,
public AttCurvature,
public AttLineRendBase {
class Tie : public ControlElement, public TimeSpanningInterface, public AttCurvature, public AttLineRendBase {
public:
/**
* @name Constructors, destructors, and other standard methods
Expand Down
3 changes: 1 addition & 2 deletions src/arpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ namespace vrv {

static const ClassRegistrar<Arpeg> s_factory("arpeg", ARPEG);

Arpeg::Arpeg()
: ControlElement(ARPEG, "arpeg-"), PlistInterface(), TimePointInterface(), AttArpegLog(), AttArpegVis()
Arpeg::Arpeg() : ControlElement(ARPEG, "arpeg-"), PlistInterface(), TimePointInterface(), AttArpegLog(), AttArpegVis()
{
this->RegisterInterface(PlistInterface::GetAttClasses(), PlistInterface::IsInterface());
this->RegisterInterface(TimePointInterface::GetAttClasses(), TimePointInterface::IsInterface());
Expand Down
7 changes: 6 additions & 1 deletion src/controlelement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ namespace vrv {
//----------------------------------------------------------------------------

ControlElement::ControlElement()
: FloatingObject(CONTROL_ELEMENT, "ce"), AltSymInterface(), LinkingInterface(), AttColor(), AttLabelled(), AttTyped()
: FloatingObject(CONTROL_ELEMENT, "ce")
, AltSymInterface()
, LinkingInterface()
, AttColor()
, AttLabelled()
, AttTyped()
{
this->RegisterInterface(AltSymInterface::GetAttClasses(), AltSymInterface::IsInterface());
this->RegisterInterface(LinkingInterface::GetAttClasses(), LinkingInterface::IsInterface());
Expand Down
6 changes: 1 addition & 5 deletions src/gliss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ namespace vrv {
static const ClassRegistrar<Gliss> s_factory("gliss", GLISS);

Gliss::Gliss()
: ControlElement(GLISS, "gliss-")
, TimeSpanningInterface()
, AttLineRend()
, AttLineRendBase()
, AttNNumberLike()
: ControlElement(GLISS, "gliss-"), TimeSpanningInterface(), AttLineRend(), AttLineRendBase(), AttNNumberLike()
{
this->RegisterInterface(TimeSpanningInterface::GetAttClasses(), TimeSpanningInterface::IsInterface());
this->RegisterAttClass(ATT_LINEREND);
Expand Down
6 changes: 1 addition & 5 deletions src/ornam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ namespace vrv {
static const ClassRegistrar<Ornam> s_factory("ornam", ORNAM);

Ornam::Ornam()
: ControlElement(ORNAM, "ornam-")
, TextListInterface()
, TextDirInterface()
, TimePointInterface()
, AttOrnamentAccid()
: ControlElement(ORNAM, "ornam-"), TextListInterface(), TextDirInterface(), TimePointInterface(), AttOrnamentAccid()
{
this->RegisterInterface(TextDirInterface::GetAttClasses(), TextDirInterface::IsInterface());
this->RegisterInterface(TimePointInterface::GetAttClasses(), TimePointInterface::IsInterface());
Expand Down
3 changes: 1 addition & 2 deletions src/reh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ namespace vrv {

static const ClassRegistrar<Reh> s_factory("reh", REH);

Reh::Reh()
: ControlElement(REH, "reh-"), TextDirInterface(), TimePointInterface(), AttLang(), AttVerticalGroup()
Reh::Reh() : ControlElement(REH, "reh-"), TextDirInterface(), TimePointInterface(), AttLang(), AttVerticalGroup()
{
this->RegisterInterface(TextDirInterface::GetAttClasses(), TextDirInterface::IsInterface());
this->RegisterInterface(TimePointInterface::GetAttClasses(), TimePointInterface::IsInterface());
Expand Down
18 changes: 3 additions & 15 deletions src/slur.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ namespace vrv {
static const ClassRegistrar<Slur> s_factory("slur", SLUR);

Slur::Slur()
: ControlElement(SLUR, "slur-")
, TimeSpanningInterface()
, AttCurvature()
, AttLayerIdent()
, AttLineRendBase()
: ControlElement(SLUR, "slur-"), TimeSpanningInterface(), AttCurvature(), AttLayerIdent(), AttLineRendBase()
{
this->RegisterInterface(TimeSpanningInterface::GetAttClasses(), TimeSpanningInterface::IsInterface());
this->RegisterAttClass(ATT_CURVATURE);
Expand All @@ -56,11 +52,7 @@ Slur::Slur()
}

Slur::Slur(ClassId classId)
: ControlElement(classId, "slur-")
, TimeSpanningInterface()
, AttCurvature()
, AttLayerIdent()
, AttLineRendBase()
: ControlElement(classId, "slur-"), TimeSpanningInterface(), AttCurvature(), AttLayerIdent(), AttLineRendBase()
{
this->RegisterInterface(TimeSpanningInterface::GetAttClasses(), TimeSpanningInterface::IsInterface());
this->RegisterAttClass(ATT_CURVATURE);
Expand All @@ -71,11 +63,7 @@ Slur::Slur(ClassId classId)
}

Slur::Slur(ClassId classId, const std::string &classIdStr)
: ControlElement(classId, classIdStr)
, TimeSpanningInterface()
, AttCurvature()
, AttLayerIdent()
, AttLineRendBase()
: ControlElement(classId, classIdStr), TimeSpanningInterface(), AttCurvature(), AttLayerIdent(), AttLineRendBase()
{
this->RegisterInterface(TimeSpanningInterface::GetAttClasses(), TimeSpanningInterface::IsInterface());
this->RegisterAttClass(ATT_CURVATURE);
Expand Down
3 changes: 1 addition & 2 deletions src/tie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ Tie::Tie() : ControlElement(TIE, "tie-"), TimeSpanningInterface(), AttCurvature(
this->Reset();
}

Tie::Tie(ClassId classId)
: ControlElement(classId, "tie-"), TimeSpanningInterface(), AttCurvature(), AttLineRendBase()
Tie::Tie(ClassId classId) : ControlElement(classId, "tie-"), TimeSpanningInterface(), AttCurvature(), AttLineRendBase()
{
this->RegisterInterface(TimeSpanningInterface::GetAttClasses(), TimeSpanningInterface::IsInterface());
this->RegisterAttClass(ATT_CURVATURE);
Expand Down

0 comments on commit cee3625

Please sign in to comment.