![]() |
Verovio
Source code documentation
|
This class is an interface for elements implementing a text directive, such as <dir>, <tempo>, or <dynam> It is not an abstract class but should not be instanciated directly. More...
#include <textdirinterface.h>
Public Member Functions | |
int | GetNumberOfLines (const Object *object) const |
Return the number of lines in the text object by counting <lb> children. | |
bool | AreChildrenAlignedTo (const Object *object, data_HORIZONTALALIGNMENT alignment) const |
Check whether one of the children has hAlign attribute set to alignment value. | |
Constructors, destructors, reset methods | |
Reset method resets all attribute classes | |
TextDirInterface () | |
virtual | ~TextDirInterface () |
void | Reset () override |
Virtual reset method. More... | |
InterfaceId | IsInterface () const override |
Virtual method returning the InterfaceId of the interface. More... | |
![]() | |
void | RegisterInterfaceAttClass (AttClassId attClassId) |
Method for registering an MEI att classes in the interface. | |
std::vector< AttClassId > * | GetAttClasses () |
Method for obtaining a pointer to the attribute class vector of the interface. | |
Interface () | |
virtual | ~Interface () |
This class is an interface for elements implementing a text directive, such as <dir>, <tempo>, or <dynam> It is not an abstract class but should not be instanciated directly.
|
inlineoverridevirtual |
Virtual method returning the InterfaceId of the interface.
Needs to be overridden in child classes.
Reimplemented from vrv::Interface.
|
overridevirtual |