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

#include <ove.h>

Inheritance diagram for OVE::Key:
Inheritance graph
[legend]
Collaboration diagram for OVE::Key:
Collaboration graph
[legend]

Public Member Functions

 Key ()
 
virtual ~Key ()
 
void setKey (int key)
 
int getKey () const
 
bool getSetKey () const
 
void setPreviousKey (int key)
 
int getPreviousKey () const
 
void setSymbolCount (int count)
 
int getSymbolCount () const
 
- Public Member Functions inherited from OVE::MusicData
 MusicData ()
 
virtual ~MusicData ()
 
MusicDataType getMusicDataType () const
 
void setShow (bool show)
 
bool getShow () const
 
void setColor (unsigned int color)
 
unsigned int getColor () const
 
void setVoice (unsigned int voice)
 
unsigned int getVoice () const
 
void copyCommonBlock (const MusicData &source)
 
- Public Member Functions inherited from OVE::TickElement
 TickElement ()
 
virtual ~TickElement ()
 
void setTick (int tick)
 
int getTick (void) const
 
- Public Member Functions inherited from OVE::PairElement
 PairElement ()
 
virtual ~PairElement ()
 
MeasurePosstart () const
 
MeasurePosstop () const
 
- Public Member Functions inherited from OVE::OffsetElement
 OffsetElement ()
 
virtual ~OffsetElement ()
 
virtual void setXOffset (int offset)
 
virtual int getXOffset () const
 
virtual void setYOffset (int offset)
 
virtual int getYOffset () const
 

Private Attributes

int key_
 
bool set_
 
int previousKey_
 
int symbolCount_
 

Additional Inherited Members

- Public Types inherited from OVE::MusicData
enum  XmlDataType : char {
  XmlDataType::Attributes = 0, XmlDataType::NoteBeam, XmlDataType::Notations, XmlDataType::Direction,
  XmlDataType::None
}
 
- Static Public Member Functions inherited from OVE::MusicData
static XmlDataType getXmlDataType (MusicDataType type)
 
- Protected Attributes inherited from OVE::MusicData
MusicDataType musicDataType_
 

Constructor & Destructor Documentation

◆ Key()

OVE::Key::Key ( )

◆ ~Key()

virtual OVE::Key::~Key ( )
inlinevirtual

Member Function Documentation

◆ getKey()

int OVE::Key::getKey ( ) const

◆ getPreviousKey()

int OVE::Key::getPreviousKey ( ) const

◆ getSetKey()

bool OVE::Key::getSetKey ( ) const

◆ getSymbolCount()

int OVE::Key::getSymbolCount ( ) const

◆ setKey()

void OVE::Key::setKey ( int  key)

◆ setPreviousKey()

void OVE::Key::setPreviousKey ( int  key)

◆ setSymbolCount()

void OVE::Key::setSymbolCount ( int  count)

Member Data Documentation

◆ key_

int OVE::Key::key_
private

◆ previousKey_

int OVE::Key::previousKey_
private

◆ set_

bool OVE::Key::set_
private

◆ symbolCount_

int OVE::Key::symbolCount_
private

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