LibMusicXML 3.18
Public Member Functions | Static Public Member Functions | List of all members
msrLength Class Reference
Inheritance diagram for msrLength:
smartable

Public Member Functions

 msrLength (msrLengthUnitKind lengthUnitKind, float lengthValue)
 
void setLengthUnitKind (msrLengthUnitKind value)
 
msrLengthUnitKind getLengthUnitKind () const
 
void setLengthValue (float value)
 
float getLengthValue () const
 
bool operator== (const msrLength &other) const
 
bool operator!= (const msrLength &other) const
 
void convertToLengthUnit (msrLengthUnitKind lengthUnitKind)
 
string asString () const
 
virtual void print (ostream &os) const
 
- Public Member Functions inherited from smartable
unsigned refs () const
 gives the reference count of the object
 
void addReference ()
 addReference increments the ref count and checks for refCount overflow
 
void removeReference ()
 removeReference delete the object when refCount is zero

 

Static Public Member Functions

static SMARTP< msrLengthcreate (msrLengthUnitKind lengthUnitKind, float lengthValue)
 

Additional Inherited Members

- Protected Member Functions inherited from smartable
 smartable (const smartable &)
 
virtual ~smartable ()
 destructor checks for non-zero refCount
 
smartableoperator= (const smartable &)