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

#include <synthesizerstate.h>

Inheritance diagram for Ms::SynthesizerState:
Inheritance graph
[legend]
Collaboration diagram for Ms::SynthesizerState:
Collaboration graph
[legend]

Public Member Functions

 SynthesizerState (std::initializer_list< SynthesizerGroup > l)
 
 SynthesizerState ()
 
void write (XmlWriter &, bool force=false) const
 
void read (XmlReader &)
 
SynthesizerGroup group (const QString &name) const
 Get SynthesizerGroup by name. More...
 
bool isDefaultSynthSoundfont ()
 check if synthesizer state uses default synth and default font only More...
 
int ccToUse () const
 
int method () const
 
bool isDefault () const
 
void setIsDefault (bool val)
 

Private Attributes

bool _isDefault { true }
 

Constructor & Destructor Documentation

◆ SynthesizerState() [1/2]

Ms::SynthesizerState::SynthesizerState ( std::initializer_list< SynthesizerGroup l)
inline

◆ SynthesizerState() [2/2]

Ms::SynthesizerState::SynthesizerState ( )
inline

Member Function Documentation

◆ ccToUse()

int Ms::SynthesizerState::ccToUse ( ) const

◆ group()

SynthesizerGroup Ms::SynthesizerState::group ( const QString &  name) const

Get SynthesizerGroup by name.

◆ isDefault()

bool Ms::SynthesizerState::isDefault ( ) const
inline

◆ isDefaultSynthSoundfont()

bool Ms::SynthesizerState::isDefaultSynthSoundfont ( )

check if synthesizer state uses default synth and default font only

◆ method()

int Ms::SynthesizerState::method ( ) const

◆ read()

void Ms::SynthesizerState::read ( XmlReader e)

◆ setIsDefault()

void Ms::SynthesizerState::setIsDefault ( bool  val)
inline

◆ write()

void Ms::SynthesizerState::write ( XmlWriter xml,
bool  force = false 
) const

Member Data Documentation

◆ _isDefault

bool Ms::SynthesizerState::_isDefault { true }
private

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