|
LibMusicXML
3.18
|
A score visitor to produce a Guido representation.
#include <xml2guidovisitor.h>
Public Member Functions | |
| xml2guidovisitor (bool generateComments, bool generateStem, bool generateBar=true, int partNum=0) | |
| Sguidoelement | convert (const Sxmlelement &xml) |
| void | generatePositions (bool state) |
Public Member Functions inherited from partlistvisitor | |
| partGroup * | find_first_of_partID_inGroup (std::string partID) |
| Returns the part group with first occurence of partID (string) | |
| void | partID2range (partGroup &pGroup) |
| Converts XML Part ID list to Guido's Staff range string. | |
| bool | checkLonelyBarFormat (int staffID) |
| Checks if current staff is lonely in terms of BarFormat definition. | |
Public Member Functions inherited from visitor< S_score_part > | |
| virtual void | visitEnd (S_score_part &elt) |
Public Member Functions inherited from visitor< S_part_group > | |
| virtual void | visitEnd (S_part_group &elt) |
Public Member Functions inherited from visitor< S_score_partwise > | |
| virtual void | visitEnd (S_score_partwise &elt) |
Public Member Functions inherited from visitor< S_movement_title > | |
| virtual void | visitEnd (S_movement_title &elt) |
Public Member Functions inherited from visitor< S_creator > | |
| virtual void | visitEnd (S_creator &elt) |
Public Member Functions inherited from visitor< S_defaults > | |
| virtual void | visitEnd (S_defaults &elt) |
Public Member Functions inherited from visitor< S_part > | |
| virtual void | visitEnd (S_part &elt) |
Static Public Member Functions | |
| static void | addPosition (Sxmlelement elt, Sguidoelement &tag, float yoffset) |
| static void | addPosition (Sxmlelement elt, Sguidoelement &tag, float yoffset, float xoffset) |
| static void | addPosY (Sxmlelement elt, Sguidoelement &tag, float yoffset, float ymultiplier) |
| static void | addPosX (Sxmlelement elt, Sguidoelement &tag, float xoffset) |
| static void | addPlacement (Sxmlelement elt, Sguidoelement &tag) |
| static float | getYposition (Sxmlelement elt, float yoffset, bool useDefault) |
| static float | getXposition (Sxmlelement elt, float xoffset) |
| static void | addDirection (Sxmlelement elt, Sguidoelement &tag) |
Protected Member Functions | |
| virtual void | visitStart (S_score_partwise &elt) |
| virtual void | visitStart (S_movement_title &elt) |
| virtual void | visitStart (S_creator &elt) |
| virtual void | visitStart (S_defaults &elt) |
| virtual void | visitStart (S_part &elt) |
| Sguidoelement & | current () |
Protected Member Functions inherited from partlistvisitor | |
| void | visitStart (S_score_part &elt) |
| void | visitStart (S_part_group &elt) |
Protected Attributes | |
| bool | previousStaffHasLyrics |
| int | fCurrentAccoladeIndex |
| int | fPartNum |
| int | defaultStaffDistance |
| int | defaultGuidoStaffDistance |
| std::multimap< int, std::pair< int, std::pair< rational, string > > > | staffClefMap |
| multimap containing <staff-num, measureNum, position, clef type> | |
| std::map< int, std::map< rational, std::vector< int > > > | timePositions |
| Containing default-x positions on a fCurrentVoicePosition (rational) of measure(int) | |
Protected Attributes inherited from partlistvisitor | |
| int | fPartGroupIncrementer |
| std::vector< int > | fCurrentPartGroupIndex |
| std::map< std::string, int > | part2staffmap |
| int | staffCreatorCounter |
Additional Inherited Members | |
Public Attributes inherited from partlistvisitor | |
| std::map< int, partGroup > | fPartGroups |
| std::map< std::string, partHeader > | fPartHeaders |