GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARAccidental.h
1 #ifndef ARAcc_H
2 #define ARAcc_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 "ARMTParameter.h"
19 #include "ARPositionTag.h"
20 
24 /*@mkdoc
25 
26 @group:Accidentals
27 
28 @tagname:\accidental
29 @tagalias:\acc
30 @tagtype:R
31 @tagnotation:sharp, flat, natural, cautionary accidental
32 @tagdesc
33 The **\accidental** tag may be used for more precise control over accidentals. It supports common tag parameters.
34 Used without parameter, it forces the display of an accidental (flat, sharp or natural).
35 @tagend
36 
37 @params:
38 @param:style:string:"cautionary" to enforce a cautionary accidental<br/>"none" to prevent an accidental display:*none*:true
39 @paramdesc
40 See the [Accidentals](@EXAMPLES/accidentals/) example.
41 @paramend
42 
43 */
44 
46 {
47  public:
49 
50  ARAccidental(const ARAccidental & acc);
51  ARAccidental();
52  virtual ~ARAccidental() {}
53 
54  virtual ARMusicalObject * Copy() const { return new ARAccidental(*this); }
55 
56  virtual const char* getParamsStr() const { return kARAccidentalParams; };
57  virtual const char* getTagName () const { return "ARAccidental"; };
58  virtual std::string getGMNName () const { return "\\accidental"; };
59 
60  Style getStyle() const;
61 };
62 
63 #endif
ARAccidental::kNone
Definition: ARAccidental.h:48
ARAccidental::Copy
virtual ARMusicalObject * Copy() const
Definition: ARAccidental.h:54
ARAccidental::getGMNName
virtual std::string getGMNName() const
Definition: ARAccidental.h:58
ARAccidental
Abstract representation of an accidental element.
Definition: ARAccidental.h:45
ARMTParameter
not yet documented
Definition: ARMTParameter.h:24
ARAccidental::getTagName
virtual const char * getTagName() const
Definition: ARAccidental.h:57
ARAccidental::kUnknown
Definition: ARAccidental.h:48
ARAccidental::ARAccidental
ARAccidental()
ARAccidental::Style
Style
Definition: ARAccidental.h:48
ARPositionTag
The base class for all range tags.
Definition: ARPositionTag.h:26
ARAccidental::getStyle
Style getStyle() const
ARAccidental::getParamsStr
virtual const char * getParamsStr() const
Definition: ARAccidental.h:56
ARMusicalObject
The base class for all AR objects. It contains all musical information : duration and time position.
Definition: ARMusicalObject.h:33
ARAccidental::kCautionary
Definition: ARAccidental.h:48
ARAccidental::~ARAccidental
virtual ~ARAccidental()
Definition: ARAccidental.h:52

Guido Project Copyright © 2019 Grame-CNCM