![]() |
Verovio
Source code documentation
|
This class stores a document selection. More...
#include <docselection.h>
Public Member Functions | |
| bool | Parse (const std::string &selection) |
| Parse the stringified JSON string a stores the values. More... | |
| void | Set (Doc *doc) |
| Set the selection to the Doc. More... | |
Constructors, destructors | |
| DocSelection () | |
| virtual | ~DocSelection () |
Public Attributes | |
| std::string | m_selectionStart |
| std::string | m_selectionEnd |
| int | m_selectionRangeStart |
| int | m_selectionRangeEnd |
| std::string | m_measureRange |
| bool | m_isPending |
This class stores a document selection.
| bool vrv::DocSelection::Parse | ( | const std::string & | selection | ) |
Parse the stringified JSON string a stores the values.
Priority is given to measureRange selection over start / end ids
| void vrv::DocSelection::Set | ( | Doc * | doc | ) |
Set the selection to the Doc.
Find measure IDs for measureRange selection.