LibMusicXML  3.18
visitable.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 __visitable__
14 #define __visitable__
15 
16 #include "basevisitor.h"
17 
18 namespace MusicXML2
19 {
20 
24 class visitable
25 {
26  public:
27  virtual ~visitable() {}
28  virtual void acceptIn(basevisitor& visitor) {}
29  virtual void acceptOut(basevisitor& visitor) {}
30 };
31 
32 } // namespace MusicXML2
33 
34 
35 #endif
MusicXML2::visitor
Definition: visitor.h:27
MusicXML2::basevisitor
Definition: basevisitor.h:25
MusicXML2::visitable
base class for visitable objects
Definition: visitable.h:25