GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARNoteName.h
1 #ifndef ARNoteName_H
2 #define ARNoteName_H
3 
4 /*
5  GUIDO Library
6  Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz
7  Copyright (C) 2002-2017 Grame
8 
9  This Source Code Form is subject to the terms of the Mozilla Public
10  License, v. 2.0. If a copy of the MPL was not distributed with this
11  file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 
13  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
14  research@grame.fr
15 
16 */
17 
18 #include <string>
19 
20 // Provides all possible notenames as copy-template
21 // Therefore the string-baseclass (in MFC CString)
22 // must be on top of a reference mechanism.
23 // all copies of a stringoject point to the same C-String.
24 // So for every possible notename will only a single
25 // representation created in memory, undependend from
26 // the number of created notes
27 
28 class ARNoteName : public std::string
29 {
30  public:
31  ARNoteName(std::string name) : std::string(name) {}
32  ARNoteName(const ARNoteName& name): std::string(name) {}
33  virtual ~ARNoteName() {}
34 
35  static std::string c;
36  static std::string do_;
37  static std::string ut;
38  static std::string cis;
39 
40  static std::string d;
41  static std::string re;
42  static std::string dis;
43 
44  static std::string e;
45  static std::string mi;
46 
47  static std::string f;
48  static std::string fa;
49  static std::string fis;
50 
51  static std::string g;
52  static std::string so;
53  static std::string sol;
54  static std::string gis;
55 
56  static std::string a;
57  static std::string la;
58  static std::string ais;
59 
60  static std::string h;
61  static std::string ti;
62  static std::string si;
63  static std::string b;
64 
65  static std::string empty;
66  static std::string unknown;
67 
68  using std::string::operator=;
69 };
70 
71 #endif
ARNoteName::d
static std::string d
Definition: ARNoteName.h:40
ARNoteName::ti
static std::string ti
Definition: ARNoteName.h:61
ARNoteName::c
static std::string c
Definition: ARNoteName.h:35
ARNoteName::h
static std::string h
Definition: ARNoteName.h:60
ARNoteName::re
static std::string re
Definition: ARNoteName.h:41
ARNoteName::la
static std::string la
Definition: ARNoteName.h:57
ARNoteName::fa
static std::string fa
Definition: ARNoteName.h:48
ARNoteName::dis
static std::string dis
Definition: ARNoteName.h:42
ARNoteName::fis
static std::string fis
Definition: ARNoteName.h:49
ARNoteName::ARNoteName
ARNoteName(std::string name)
Definition: ARNoteName.h:31
ARNoteName::do_
static std::string do_
Definition: ARNoteName.h:36
ARNoteName::gis
static std::string gis
Definition: ARNoteName.h:54
ARNoteName::f
static std::string f
Definition: ARNoteName.h:47
ARNoteName::sol
static std::string sol
Definition: ARNoteName.h:53
ARNoteName::g
static std::string g
Definition: ARNoteName.h:51
ARNoteName::a
static std::string a
Definition: ARNoteName.h:56
ARNoteName::ais
static std::string ais
Definition: ARNoteName.h:58
ARNoteName::cis
static std::string cis
Definition: ARNoteName.h:38
ARNoteName::ARNoteName
ARNoteName(const ARNoteName &name)
Definition: ARNoteName.h:32
ARNoteName::so
static std::string so
Definition: ARNoteName.h:52
ARNoteName
Definition: ARNoteName.h:28
ARNoteName::mi
static std::string mi
Definition: ARNoteName.h:45
ARNoteName::ut
static std::string ut
Definition: ARNoteName.h:37
ARNoteName::unknown
static std::string unknown
Definition: ARNoteName.h:66
ARNoteName::empty
static std::string empty
Definition: ARNoteName.h:65
ARNoteName::e
static std::string e
Definition: ARNoteName.h:44
ARNoteName::~ARNoteName
virtual ~ARNoteName()
Definition: ARNoteName.h:33
ARNoteName::b
static std::string b
Definition: ARNoteName.h:63
ARNoteName::si
static std::string si
Definition: ARNoteName.h:62

Guido Project Copyright © 2019 Grame-CNCM