-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
816b0c5
commit b368cd3
Showing
7 changed files
with
229 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// MusicXML Class Library | ||
// Copyright (c) by Matthew James Briggs | ||
// Distributed under the MIT License | ||
|
||
#pragma once | ||
|
||
#include "mx/api/ApiCommon.h" | ||
#include "mx/api/ColorData.h" | ||
#include "mx/api/PositionData.h" | ||
|
||
namespace mx | ||
{ | ||
namespace api | ||
{ | ||
class CodaData | ||
{ | ||
public: | ||
PositionData positionData; | ||
bool isColorSpecified; | ||
ColorData colorData; | ||
|
||
CodaData() | ||
: positionData{} | ||
, isColorSpecified{ false } | ||
, colorData{} | ||
{ | ||
} | ||
}; | ||
|
||
MXAPI_EQUALS_BEGIN( CodaData ) | ||
MXAPI_EQUALS_MEMBER( positionData ) | ||
MXAPI_EQUALS_MEMBER( isColorSpecified ) | ||
MXAPI_EQUALS_MEMBER( colorData ) | ||
MXAPI_EQUALS_END; | ||
MXAPI_NOT_EQUALS_AND_VECTORS( CodaData ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// MusicXML Class Library | ||
// Copyright (c) by Matthew James Briggs | ||
// Distributed under the MIT License | ||
|
||
#pragma once | ||
|
||
#include "mx/api/ApiCommon.h" | ||
#include "mx/api/ColorData.h" | ||
#include "mx/api/PositionData.h" | ||
|
||
namespace mx | ||
{ | ||
namespace api | ||
{ | ||
class RehearsalData | ||
{ | ||
public: | ||
std::string text; | ||
PositionData positionData; | ||
bool isColorSpecified; | ||
ColorData colorData; | ||
FontData fontData; | ||
|
||
// Additional data about enclosing shape is available | ||
// but not supported at this time. | ||
|
||
RehearsalData() | ||
: text{} | ||
, positionData{} | ||
, isColorSpecified{ false } | ||
, colorData{} | ||
, fontData{} | ||
{ | ||
} | ||
}; | ||
|
||
MXAPI_EQUALS_BEGIN( RehearsalData ) | ||
MXAPI_EQUALS_MEMBER( text ) | ||
MXAPI_EQUALS_MEMBER( positionData ) | ||
MXAPI_EQUALS_MEMBER( isColorSpecified ) | ||
MXAPI_EQUALS_MEMBER( colorData ) | ||
MXAPI_EQUALS_MEMBER( fontData ) | ||
MXAPI_EQUALS_END; | ||
MXAPI_NOT_EQUALS_AND_VECTORS( RehearsalData ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// MusicXML Class Library | ||
// Copyright (c) by Matthew James Briggs | ||
// Distributed under the MIT License | ||
|
||
#pragma once | ||
|
||
#include "mx/api/ApiCommon.h" | ||
#include "mx/api/ColorData.h" | ||
#include "mx/api/PositionData.h" | ||
|
||
namespace mx | ||
{ | ||
namespace api | ||
{ | ||
class SegnoData | ||
{ | ||
public: | ||
PositionData positionData; | ||
bool isColorSpecified; | ||
ColorData colorData; | ||
|
||
SegnoData() | ||
: positionData{} | ||
, isColorSpecified{ false } | ||
, colorData{} | ||
{ | ||
} | ||
}; | ||
|
||
MXAPI_EQUALS_BEGIN( SegnoData ) | ||
MXAPI_EQUALS_MEMBER( positionData ) | ||
MXAPI_EQUALS_MEMBER( isColorSpecified ) | ||
MXAPI_EQUALS_MEMBER( colorData ) | ||
MXAPI_EQUALS_END; | ||
MXAPI_NOT_EQUALS_AND_VECTORS( SegnoData ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.