#include <musicxmlexport.h>
◆ CAMusicXmlExport()
| CAMusicXmlExport::CAMusicXmlExport |
( |
QTextStream * |
stream = 0 | ) |
|
Copyright (c) 2008, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
References _xmlDoc.
◆ ~CAMusicXmlExport()
| CAMusicXmlExport::~CAMusicXmlExport |
( |
| ) |
|
|
virtual |
◆ curContext()
◆ curContextIndex()
| int CAMusicXmlExport::curContextIndex |
( |
| ) |
|
|
inline |
◆ curDocument()
◆ curSheet()
| CASheet* CAMusicXmlExport::curSheet |
( |
| ) |
|
|
inline |
◆ curVoice()
| CAVoice* CAMusicXmlExport::curVoice |
( |
| ) |
|
|
inline |
◆ exportClef()
| void CAMusicXmlExport::exportClef |
( |
CAClef * |
clef, |
|
|
QDomElement & |
xmlClef |
|
) |
| |
|
private |
◆ exportKeySig()
| void CAMusicXmlExport::exportKeySig |
( |
CAKeySignature * |
key, |
|
|
QDomElement & |
xmlKey |
|
) |
| |
|
private |
◆ exportMeasure()
| void CAMusicXmlExport::exportMeasure |
( |
QList< CAVoice * > & |
voiceList, |
|
|
int * |
curIndex, |
|
|
QDomElement & |
xmlMeasure |
|
) |
| |
|
private |
Exports the voice elements at provided indices to the given DOM measure element.
References _xmlDoc, CAMusElement::Barline, CAMusElement::Clef, exportClef(), exportKeySig(), exportNote(), exportRest(), exportTimeSig(), CAMusElement::KeySignature, CAVoice::musElementList(), CAMusElement::musElementType(), CAMusElement::Note, CAPlayableLength::playableLengthToTimeLength(), CAMusElement::Rest, CAMusElement::TimeSignature, and CAVoice::voiceNumber().
Referenced by exportStaffImpl().
◆ exportNote()
| void CAMusicXmlExport::exportNote |
( |
CANote * |
note, |
|
|
QDomElement & |
xmlNote |
|
) |
| |
|
private |
References _xmlDoc, CADiatonicPitch::accs(), CAPlayableLength::Breve, CANote::diatonicPitch(), CAPlayableLength::Eighth, CAPlayableLength::Half, CAPlayableLength::HundredTwentyEighth, CANote::isFirstInChord(), CANote::isPartOfChord(), CAPlayableLength::musicLength(), CADiatonicPitch::noteName(), CAPlayable::playableLength(), CAPlayableLength::Quarter, CAPlayableLength::Sixteenth, CAPlayableLength::SixtyFourth, CANote::stemDirection(), CAVoice::stemDirection(), CANote::StemDown, CANote::StemPreferred, CANote::StemUp, CAPlayableLength::ThirtySecond, CAPlayable::voice(), and CAPlayableLength::Whole.
Referenced by exportMeasure().
◆ exportRest()
| void CAMusicXmlExport::exportRest |
( |
CARest * |
rest, |
|
|
QDomElement & |
xmlNote |
|
) |
| |
|
private |
◆ exportSheetImpl()
| void CAMusicXmlExport::exportSheetImpl |
( |
CASheet * |
sheet | ) |
|
|
privatevirtual |
◆ exportStaffImpl()
| void CAMusicXmlExport::exportStaffImpl |
( |
CAStaff * |
staff, |
|
|
QDomElement & |
xmlPart |
|
) |
| |
|
private |
◆ exportTimeSig()
| void CAMusicXmlExport::exportTimeSig |
( |
CATimeSignature * |
time, |
|
|
QDomElement & |
xmlTime |
|
) |
| |
|
private |
◆ setCurContext()
| void CAMusicXmlExport::setCurContext |
( |
CAContext * |
context | ) |
|
|
inlineprivate |
◆ setCurContextIndex()
| void CAMusicXmlExport::setCurContextIndex |
( |
int |
c | ) |
|
|
inlineprivate |
◆ setCurDocument()
| void CAMusicXmlExport::setCurDocument |
( |
CADocument * |
document | ) |
|
|
inlineprivate |
◆ setCurSheet()
| void CAMusicXmlExport::setCurSheet |
( |
CASheet * |
sheet | ) |
|
|
inlineprivate |
◆ setCurVoice()
| void CAMusicXmlExport::setCurVoice |
( |
CAVoice * |
voice | ) |
|
|
inlineprivate |
◆ _curContext
◆ _curContextIndex
| int CAMusicXmlExport::_curContextIndex |
|
private |
◆ _curDocument
◆ _curSheet
| CASheet* CAMusicXmlExport::_curSheet |
|
private |
◆ _curVoice
| CAVoice* CAMusicXmlExport::_curVoice |
|
private |
◆ _xmlDoc
| QDomDocument* CAMusicXmlExport::_xmlDoc |
|
private |
The documentation for this class was generated from the following files: