LibMusicXML 3.18
lpsrVariables.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 ___lpsrVariables___
14#define ___lpsrVariables___
15
16#include <string>
17
18#include "lpsrElements.h"
19
20
21using namespace std;
22
23namespace MusicXML2
24{
25
26//______________________________________________________________________________
28{
29 public:
30
31 // creation from MusicXML
32 // ------------------------------------------------------
33
34 static SMARTP<lpsrVariableUseCommand> create (
35 int inputLineNumber,
36 string variableName);
37
38 protected:
39
40 // constructors/destructor
41 // ------------------------------------------------------
42
44 int inputLineNumber,
45 string variableName);
46
47 virtual ~lpsrVariableUseCommand ();
48
49 public:
50
51 // set and get
52 // ------------------------------------------------------
53
54 // services
55 // ------------------------------------------------------
56
57 public:
58
59 // visitors
60 // ------------------------------------------------------
61
62 virtual void acceptIn (basevisitor* v);
63 virtual void acceptOut (basevisitor* v);
64
65 virtual void browseData (basevisitor* v);
66
67 public:
68
69 // print
70 // ------------------------------------------------------
71
72 virtual void print (ostream& os) const;
73
74 private:
75
76 // fields
77 // ------------------------------------------------------
78
79 string fVariableName;
80};
82EXP ostream& operator<< (ostream& os, const S_lpsrVariableUseCommand& elt);
83
84
85}
86
87
88#endif
the smart pointer implementation
Definition: smartpointer.h:58
Definition: basevisitor.h:25
Definition: lpsrElements.h:24
Definition: lpsrVariables.h:28