MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
Ms::mxmlNotePitch Class Reference

Parse the note pitch related part of the /score-partwise/part/measure/note node. More...

#include <importmxmlnotepitch.h>

Collaboration diagram for Ms::mxmlNotePitch:
Collaboration graph
[legend]

Public Member Functions

 mxmlNotePitch (MxmlLogger *logger)
 
void pitch (QXmlStreamReader &e)
 Parse the /score-partwise/part/measure/note/pitch node. More...
 
bool readProperties (QXmlStreamReader &e, Score *score)
 Handle selected child elements of the /score-partwise/part/measure/note node. More...
 
Accidentalacc () const
 
AccidentalType accType () const
 
int alter () const
 
int displayOctave () const
 
int displayStep () const
 
void displayStepOctave (QXmlStreamReader &e)
 Handle <display-step> and <display-octave> for <rest> and <unpitched> More...
 
int octave () const
 
int step () const
 
bool unpitched () const
 

Private Attributes

Accidental_acc = 0
 
AccidentalType _accType = AccidentalType::NONE
 
int _alter = 0
 
int _displayStep = -1
 
int _displayOctave = -1
 
int _octave = -1
 
int _step = 0
 
bool _unpitched = false
 
MxmlLogger_logger
 Error logger. More...
 

Detailed Description

Parse the note pitch related part of the /score-partwise/part/measure/note node.

Constructor & Destructor Documentation

◆ mxmlNotePitch()

Ms::mxmlNotePitch::mxmlNotePitch ( MxmlLogger logger)
inline

Member Function Documentation

◆ acc()

Accidental* Ms::mxmlNotePitch::acc ( ) const
inline

◆ accType()

AccidentalType Ms::mxmlNotePitch::accType ( ) const
inline

◆ alter()

int Ms::mxmlNotePitch::alter ( ) const
inline

◆ displayOctave()

int Ms::mxmlNotePitch::displayOctave ( ) const
inline

◆ displayStep()

int Ms::mxmlNotePitch::displayStep ( ) const
inline

◆ displayStepOctave()

void Ms::mxmlNotePitch::displayStepOctave ( QXmlStreamReader &  e)

Handle <display-step> and <display-octave> for <rest> and <unpitched>

◆ octave()

int Ms::mxmlNotePitch::octave ( ) const
inline

◆ pitch()

void Ms::mxmlNotePitch::pitch ( QXmlStreamReader &  e)

Parse the /score-partwise/part/measure/note/pitch node.

◆ readProperties()

bool Ms::mxmlNotePitch::readProperties ( QXmlStreamReader &  e,
Score score 
)

Handle selected child elements of the /score-partwise/part/measure/note node.

Return true if handled.

◆ step()

int Ms::mxmlNotePitch::step ( void  ) const
inline

◆ unpitched()

bool Ms::mxmlNotePitch::unpitched ( ) const
inline

Member Data Documentation

◆ _acc

Accidental* Ms::mxmlNotePitch::_acc = 0
private

◆ _accType

AccidentalType Ms::mxmlNotePitch::_accType = AccidentalType::NONE
private

◆ _alter

int Ms::mxmlNotePitch::_alter = 0
private

◆ _displayOctave

int Ms::mxmlNotePitch::_displayOctave = -1
private

◆ _displayStep

int Ms::mxmlNotePitch::_displayStep = -1
private

◆ _logger

MxmlLogger* Ms::mxmlNotePitch::_logger
private

Error logger.

◆ _octave

int Ms::mxmlNotePitch::_octave = -1
private

◆ _step

int Ms::mxmlNotePitch::_step = 0
private

◆ _unpitched

bool Ms::mxmlNotePitch::_unpitched = false
private

The documentation for this class was generated from the following files: