00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __TNodeVisitor__
00024 #define __TNodeVisitor__
00025
00026 #include <vector>
00027 #include "smartclasses.h"
00028 #include "smartpointer.h"
00029
00030 using namespace std;
00031
00032 namespace MusicXML
00033 {
00048 class TNodeVisitor : public smartable {
00049
00050 public:
00051 TNodeVisitor() {}
00052 virtual ~TNodeVisitor() {}
00053
00054 EXP friend SMARTP<TNodeVisitor> newNodeVisitor();
00055
00056 virtual void visiteEnter ( SAccidental& elt ) {}
00057 virtual void visiteEnter ( SArticulationElement& elt ) {}
00058 virtual void visiteEnter ( SArticulations& elt ) {}
00059 virtual void visiteEnter ( SAttributes& elt ) {}
00060 virtual void visiteEnter ( SBackup& elt ) {}
00061 virtual void visiteEnter ( SBarline& elt ) {}
00062 virtual void visiteEnter ( SBeam& elt ) {}
00063 virtual void visiteEnter ( SBracket& elt ) {}
00064 virtual void visiteEnter ( SChord& elt ) {}
00065 virtual void visiteEnter ( SClef& elt ) {}
00066 virtual void visiteEnter ( SCoda& elt ) {}
00067 virtual void visiteEnter ( SCreator& elt ) {}
00068 virtual void visiteEnter ( SDashes& elt ) {}
00069 virtual void visiteEnter ( SDirection& elt ) {}
00070 virtual void visiteEnter ( SDirectionType& elt ) {}
00071 virtual void visiteEnter ( SDirective& elt ) {}
00072 virtual void visiteEnter ( SDynamic& elt ) {}
00073 virtual void visiteEnter ( SEncoding& elt ) {}
00074 virtual void visiteEnter ( SEnding& elt ) {}
00075 virtual void visiteEnter ( SExpression& elt ) {}
00076 virtual void visiteEnter ( SFermata& elt ) {}
00077 virtual void visiteEnter ( SForward& elt ) {}
00078 virtual void visiteEnter ( SGraceNote& elt ) {}
00079 virtual void visiteEnter ( SGraphNote& elt ) {}
00080 virtual void visiteEnter ( SIdentification& elt ) {}
00081 virtual void visiteEnter ( SKey& elt ) {}
00082 virtual void visiteEnter ( SMeasure& elt ) {}
00083 virtual void visiteEnter ( SMetronome& elt ) {}
00084 virtual void visiteEnter ( SMidiDevice& elt ) {}
00085 virtual void visiteEnter ( SMidiInstrument& elt ) {}
00086 virtual void visiteEnter ( SNotation& elt ) {}
00087 virtual void visiteEnter ( SNote& elt ) {}
00088 virtual void visiteEnter ( SNoteHead& elt ) {}
00089 virtual void visiteEnter ( SOctaveShift& elt ) {}
00090 virtual void visiteEnter ( SPWMeasure& elt ) {}
00091 virtual void visiteEnter ( SPWPart& elt ) {}
00092 virtual void visiteEnter ( SPart& elt ) {}
00093 virtual void visiteEnter ( SPartGroup& elt ) {}
00094 virtual void visiteEnter ( SPartList& elt ) {}
00095 virtual void visiteEnter ( SPitch& elt ) {}
00096 virtual void visiteEnter ( SRepeat& elt ) {}
00097 virtual void visiteEnter ( SRest& elt ) {}
00098 virtual void visiteEnter ( SRights& elt ) {}
00099 virtual void visiteEnter ( SScoreHeader& elt ) {}
00100 virtual void visiteEnter ( SScoreInstrument& elt ) {}
00101 virtual void visiteEnter ( SScorePart& elt ) {}
00102 virtual void visiteEnter ( SScorePartwise& elt ) {}
00103 virtual void visiteEnter ( SScoreTimewise& elt ) {}
00104 virtual void visiteEnter ( SSegno& elt ) {}
00105 virtual void visiteEnter ( SSlur& elt ) {}
00106 virtual void visiteEnter ( SSound& elt ) {}
00107 virtual void visiteEnter ( SStrongAccent& elt ) {}
00108 virtual void visiteEnter ( STWMeasure& elt ) {}
00109 virtual void visiteEnter ( STWPart& elt ) {}
00110 virtual void visiteEnter ( STie& elt ) {}
00111
00112 virtual void visiteEnter ( STimeModification& elt ) {}
00113 virtual void visiteEnter ( STimeSign& elt ) {}
00114 virtual void visiteEnter ( STranspose& elt ) {}
00115
00116 virtual void visiteEnter ( STuplet& elt ) {}
00117 virtual void visiteEnter ( STupletDesc& elt ) {}
00118 virtual void visiteEnter ( SUnpitched& elt ) {}
00119 virtual void visiteEnter ( SWavyLine& elt ) {}
00120 virtual void visiteEnter ( SWedge& elt ) {}
00121 virtual void visiteEnter ( SWords& elt ) {}
00122 virtual void visiteEnter ( SWork& elt ) {}
00123
00124 virtual void visiteLeave ( SAccidental& elt ) {}
00125 virtual void visiteLeave ( SArticulationElement& elt ) {}
00126 virtual void visiteLeave ( SArticulations& elt ) {}
00127 virtual void visiteLeave ( SAttributes& elt ) {}
00128 virtual void visiteLeave ( SBackup& elt ) {}
00129 virtual void visiteLeave ( SBarline& elt ) {}
00130 virtual void visiteLeave ( SBeam& elt ) {}
00131 virtual void visiteLeave ( SBracket& elt ) {}
00132 virtual void visiteLeave ( SChord& elt ) {}
00133 virtual void visiteLeave ( SClef& elt ) {}
00134 virtual void visiteLeave ( SCoda& elt ) {}
00135 virtual void visiteLeave ( SCreator& elt ) {}
00136 virtual void visiteLeave ( SDashes& elt ) {}
00137 virtual void visiteLeave ( SDirection& elt ) {}
00138 virtual void visiteLeave ( SDirectionType& elt ) {}
00139 virtual void visiteLeave ( SDirective& elt ) {}
00140 virtual void visiteLeave ( SDynamic& elt ) {}
00141 virtual void visiteLeave ( SEncoding& elt ) {}
00142 virtual void visiteLeave ( SEnding& elt ) {}
00143 virtual void visiteLeave ( SExpression& elt ) {}
00144 virtual void visiteLeave ( SFermata& elt ) {}
00145 virtual void visiteLeave ( SForward& elt ) {}
00146 virtual void visiteLeave ( SGraceNote& elt ) {}
00147 virtual void visiteLeave ( SGraphNote& elt ) {}
00148 virtual void visiteLeave ( SIdentification& elt ) {}
00149 virtual void visiteLeave ( SKey& elt ) {}
00150 virtual void visiteLeave ( SMeasure& elt ) {}
00151 virtual void visiteLeave ( SMetronome& elt ) {}
00152 virtual void visiteLeave ( SMidiDevice& elt ) {}
00153 virtual void visiteLeave ( SMidiInstrument& elt ) {}
00154 virtual void visiteLeave ( SNotation& elt ) {}
00155 virtual void visiteLeave ( SNote& elt ) {}
00156 virtual void visiteLeave ( SNoteHead& elt ) {}
00157 virtual void visiteLeave ( SOctaveShift& elt ) {}
00158 virtual void visiteLeave ( SPWMeasure& elt ) {}
00159 virtual void visiteLeave ( SPWPart& elt ) {}
00160 virtual void visiteLeave ( SPart& elt ) {}
00161 virtual void visiteLeave ( SPartGroup& elt ) {}
00162 virtual void visiteLeave ( SPartList& elt ) {}
00163 virtual void visiteLeave ( SPitch& elt ) {}
00164 virtual void visiteLeave ( SRepeat& elt ) {}
00165 virtual void visiteLeave ( SRest& elt ) {}
00166 virtual void visiteLeave ( SRights& elt ) {}
00167 virtual void visiteLeave ( SScoreHeader& elt ) {}
00168 virtual void visiteLeave ( SScoreInstrument& elt ) {}
00169 virtual void visiteLeave ( SScorePart& elt ) {}
00170 virtual void visiteLeave ( SScorePartwise& elt ) {}
00171 virtual void visiteLeave ( SScoreTimewise& elt ) {}
00172 virtual void visiteLeave ( SSegno& elt ) {}
00173 virtual void visiteLeave ( SSlur& elt ) {}
00174 virtual void visiteLeave ( SSound& elt ) {}
00175 virtual void visiteLeave ( SStrongAccent& elt ) {}
00176 virtual void visiteLeave ( STWMeasure& elt ) {}
00177 virtual void visiteLeave ( STWPart& elt ) {}
00178 virtual void visiteLeave ( STie& elt ) {}
00179
00180 virtual void visiteLeave ( STimeModification& elt ) {}
00181 virtual void visiteLeave ( STimeSign& elt ) {}
00182 virtual void visiteLeave ( STranspose& elt ) {}
00183
00184 virtual void visiteLeave ( STuplet& elt ) {}
00185 virtual void visiteLeave ( STupletDesc& elt ) {}
00186 virtual void visiteLeave ( SUnpitched& elt ) {}
00187 virtual void visiteLeave ( SWavyLine& elt ) {}
00188 virtual void visiteLeave ( SWedge& elt ) {}
00189 virtual void visiteLeave ( SWords& elt ) {}
00190 virtual void visiteLeave ( SWork& elt ) {}
00191
00192 virtual void visiteEnter ( TOrientation* elt ) {}
00193 virtual void visiteEnter ( TPlacement* elt ) {}
00194 virtual void visiteEnter ( TPosition* elt ) {}
00195
00196 };
00197
00198
00199 typedef SMARTP<TNodeVisitor> SNodeVisitor;
00200
00204 }
00205
00206
00207 #endif