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

#include <eleminfo.h>

Collaboration diagram for Ms::ElementInfo:
Collaboration graph
[legend]

Public Member Functions

 ElementInfo ()=default
 
 ElementInfo (const Element *e)
 
ElementType type () const
 
void setType (ElementType t)
 
int subtype () const
 
void setSubtype (int st)
 
const Locationlocation () const
 
void setLocation (const Location &loc)
 
void fillForElement (const Element *e)
 
bool operator== (const ElementInfo &other) const
 
bool operator!= (const ElementInfo &other) const
 

Private Attributes

ElementType _type = ElementType::INVALID
 
int _subtype = -1
 
Location _loc = Location::absolute()
 

Constructor & Destructor Documentation

◆ ElementInfo() [1/2]

Ms::ElementInfo::ElementInfo ( )
default

◆ ElementInfo() [2/2]

Ms::ElementInfo::ElementInfo ( const Element e)
inlineexplicit

Member Function Documentation

◆ fillForElement()

void Ms::ElementInfo::fillForElement ( const Element e)

◆ location()

const Location& Ms::ElementInfo::location ( ) const
inline

◆ operator!=()

bool Ms::ElementInfo::operator!= ( const ElementInfo other) const
inline

◆ operator==()

bool Ms::ElementInfo::operator== ( const ElementInfo other) const
inline

◆ setLocation()

void Ms::ElementInfo::setLocation ( const Location loc)
inline

◆ setSubtype()

void Ms::ElementInfo::setSubtype ( int  st)
inline

◆ setType()

void Ms::ElementInfo::setType ( ElementType  t)
inline

◆ subtype()

int Ms::ElementInfo::subtype ( ) const
inline

◆ type()

ElementType Ms::ElementInfo::type ( ) const
inline

Member Data Documentation

◆ _loc

Location Ms::ElementInfo::_loc = Location::absolute()
private

◆ _subtype

int Ms::ElementInfo::_subtype = -1
private

◆ _type

ElementType Ms::ElementInfo::_type = ElementType::INVALID
private

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