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

#include <ove.h>

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

Public Member Functions

 NoteContainer ()
 
virtual ~NoteContainer ()
 
void setIsGrace (bool grace)
 
bool getIsGrace () const
 
void setIsCue (bool cue)
 
bool getIsCue () const
 
void setIsRest (bool rest)
 
bool getIsRest () const
 
void setIsRaw (bool raw)
 
bool getIsRaw () const
 
void setNoteType (NoteType type)
 
NoteType getNoteType () const
 
void setDot (int dot)
 
int getDot () const
 
void setGraceNoteType (NoteType type)
 
NoteType getGraceNoteType () const
 
void setInBeam (bool in)
 
bool getInBeam () const
 
void setStemUp (bool up)
 
bool getStemUp (void) const
 
void setShowStem (bool show)
 
bool getShowStem () const
 
void setStemLength (int line)
 
int getStemLength () const
 
void setTuplet (int tuplet)
 
int getTuplet () const
 
void setSpace (int space)
 
int getSpace () const
 
void addNoteRest (Note *note)
 
QList< Note * > getNotesRests () const
 
void addArticulation (Articulation *art)
 
QList< Articulation * > getArticulations () const
 
void setNoteShift (int octave)
 
int getNoteShift () const
 
int getOffsetStaff () const
 
int getDuration () 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
 
- Public Member Functions inherited from OVE::LengthElement
 LengthElement ()
 
virtual ~LengthElement ()
 
void setLength (int length)
 
int getLength () const
 

Private Attributes

bool grace_
 
bool cue_
 
bool rest_
 
bool raw_
 
NoteType noteType_
 
int dot_
 
NoteType graceNoteType_
 
int tuplet_
 
int space_
 
bool inBeam_
 
bool stemUp_
 
bool showStem_
 
int stemLength_
 
int noteShift_
 
QList< Note * > notes_
 
QList< Articulation * > articulations_
 

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

◆ NoteContainer()

OVE::NoteContainer::NoteContainer ( )

◆ ~NoteContainer()

OVE::NoteContainer::~NoteContainer ( )
virtual

Member Function Documentation

◆ addArticulation()

void OVE::NoteContainer::addArticulation ( Articulation art)

◆ addNoteRest()

void OVE::NoteContainer::addNoteRest ( Note note)

◆ getArticulations()

QList< Articulation * > OVE::NoteContainer::getArticulations ( ) const

◆ getDot()

int OVE::NoteContainer::getDot ( ) const

◆ getDuration()

int OVE::NoteContainer::getDuration ( ) const

◆ getGraceNoteType()

NoteType OVE::NoteContainer::getGraceNoteType ( ) const

◆ getInBeam()

bool OVE::NoteContainer::getInBeam ( ) const

◆ getIsCue()

bool OVE::NoteContainer::getIsCue ( ) const

◆ getIsGrace()

bool OVE::NoteContainer::getIsGrace ( ) const

◆ getIsRaw()

bool OVE::NoteContainer::getIsRaw ( ) const

◆ getIsRest()

bool OVE::NoteContainer::getIsRest ( ) const

◆ getNoteShift()

int OVE::NoteContainer::getNoteShift ( ) const

◆ getNotesRests()

QList< Note * > OVE::NoteContainer::getNotesRests ( ) const

◆ getNoteType()

NoteType OVE::NoteContainer::getNoteType ( ) const

◆ getOffsetStaff()

int OVE::NoteContainer::getOffsetStaff ( ) const

◆ getShowStem()

bool OVE::NoteContainer::getShowStem ( ) const

◆ getSpace()

int OVE::NoteContainer::getSpace ( ) const

◆ getStemLength()

int OVE::NoteContainer::getStemLength ( ) const

◆ getStemUp()

bool OVE::NoteContainer::getStemUp ( void  ) const

◆ getTuplet()

int OVE::NoteContainer::getTuplet ( ) const

◆ setDot()

void OVE::NoteContainer::setDot ( int  dot)

◆ setGraceNoteType()

void OVE::NoteContainer::setGraceNoteType ( NoteType  type)

◆ setInBeam()

void OVE::NoteContainer::setInBeam ( bool  in)

◆ setIsCue()

void OVE::NoteContainer::setIsCue ( bool  cue)

◆ setIsGrace()

void OVE::NoteContainer::setIsGrace ( bool  grace)

◆ setIsRaw()

void OVE::NoteContainer::setIsRaw ( bool  raw)

◆ setIsRest()

void OVE::NoteContainer::setIsRest ( bool  rest)

◆ setNoteShift()

void OVE::NoteContainer::setNoteShift ( int  octave)

◆ setNoteType()

void OVE::NoteContainer::setNoteType ( NoteType  type)

◆ setShowStem()

void OVE::NoteContainer::setShowStem ( bool  show)

◆ setSpace()

void OVE::NoteContainer::setSpace ( int  space)

◆ setStemLength()

void OVE::NoteContainer::setStemLength ( int  line)

◆ setStemUp()

void OVE::NoteContainer::setStemUp ( bool  up)

◆ setTuplet()

void OVE::NoteContainer::setTuplet ( int  tuplet)

Member Data Documentation

◆ articulations_

QList<Articulation*> OVE::NoteContainer::articulations_
private

◆ cue_

bool OVE::NoteContainer::cue_
private

◆ dot_

int OVE::NoteContainer::dot_
private

◆ grace_

bool OVE::NoteContainer::grace_
private

◆ graceNoteType_

NoteType OVE::NoteContainer::graceNoteType_
private

◆ inBeam_

bool OVE::NoteContainer::inBeam_
private

◆ notes_

QList<Note*> OVE::NoteContainer::notes_
private

◆ noteShift_

int OVE::NoteContainer::noteShift_
private

◆ noteType_

NoteType OVE::NoteContainer::noteType_
private

◆ raw_

bool OVE::NoteContainer::raw_
private

◆ rest_

bool OVE::NoteContainer::rest_
private

◆ showStem_

bool OVE::NoteContainer::showStem_
private

◆ space_

int OVE::NoteContainer::space_
private

◆ stemLength_

int OVE::NoteContainer::stemLength_
private

◆ stemUp_

bool OVE::NoteContainer::stemUp_
private

◆ tuplet_

int OVE::NoteContainer::tuplet_
private

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