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

#include <key.h>

Public Member Functions

 AccidentalState ()
 
void init (Key key)
 
void init (const KeySigEvent &, ClefType)
 
AccidentalVal accidentalVal (int line, bool &error) const
 
AccidentalVal accidentalVal (int line) const
 
bool tieContext (int line) const
 
void setAccidentalVal (int line, AccidentalVal val, bool tieContext=false)
 

Private Attributes

uchar state [MAX_ACC_STATE]
 

Constructor & Destructor Documentation

◆ AccidentalState()

Ms::AccidentalState::AccidentalState ( )
inline

Member Function Documentation

◆ accidentalVal() [1/2]

AccidentalVal Ms::AccidentalState::accidentalVal ( int  line,
bool &  error 
) const

◆ accidentalVal() [2/2]

AccidentalVal Ms::AccidentalState::accidentalVal ( int  line) const

◆ init() [1/2]

void Ms::AccidentalState::init ( Key  key)

◆ init() [2/2]

void Ms::AccidentalState::init ( const KeySigEvent keySig,
ClefType  clef 
)

◆ setAccidentalVal()

void Ms::AccidentalState::setAccidentalVal ( int  line,
AccidentalVal  val,
bool  tieContext = false 
)

◆ tieContext()

bool Ms::AccidentalState::tieContext ( int  line) const

Member Data Documentation

◆ state

uchar Ms::AccidentalState::state[MAX_ACC_STATE]
private

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