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

Public Member Functions

 AveragePitch ()
 
 AveragePitch (int sumPitch, int count)
 
int pitch () const
 
void addPitch (int pitch)
 
AveragePitchoperator+= (const AveragePitch &other)
 

Private Attributes

int sumPitch_
 
int count_
 

Constructor & Destructor Documentation

◆ AveragePitch() [1/2]

Ms::MidiClef::AveragePitch::AveragePitch ( )
inline

◆ AveragePitch() [2/2]

Ms::MidiClef::AveragePitch::AveragePitch ( int  sumPitch,
int  count 
)
inline

Member Function Documentation

◆ addPitch()

void Ms::MidiClef::AveragePitch::addPitch ( int  pitch)
inline

◆ operator+=()

AveragePitch& Ms::MidiClef::AveragePitch::operator+= ( const AveragePitch other)
inline

◆ pitch()

int Ms::MidiClef::AveragePitch::pitch ( ) const
inline

Member Data Documentation

◆ count_

int Ms::MidiClef::AveragePitch::count_
private

◆ sumPitch_

int Ms::MidiClef::AveragePitch::sumPitch_
private

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