LibMusicXML  3.18
visitor.h
1 /*
2  MusicXML Library
3  Copyright (C) Grame 2006-2013
4 
5  This Source Code Form is subject to the terms of the Mozilla Public
6  License, v. 2.0. If a copy of the MPL was not distributed with this
7  file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
10  research@grame.fr
11 */
12 
13 #ifndef __visitor__
14 #define __visitor__
15 
16 #include "basevisitor.h"
17 
18 namespace MusicXML2
19 {
20 
26 template<class C> class visitor : virtual public basevisitor
27 {
28  public:
29  virtual ~visitor() {}
30  virtual void visitStart( C& elt ) {};
31  virtual void visitEnd ( C& elt ) {};
32 };
33 
36 } // namespace MusicXML2
37 
38 
39 #endif
MusicXML2::visitor
Definition: visitor.h:27
MusicXML2::basevisitor
Definition: basevisitor.h:25