GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARStaccato.h
1 #ifndef ARStaccato_H
2 #define ARStaccato_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 "ARArticulation.h"
19 
20 /*@mkdoc
21 
22 @group:Articulations
23 
24 @tagname:\staccato
25 @tagalias:\stacc <br /> \staccBegin \staccEnd
26 @tagtype:R
27 @tagnotation:staccato signs
28 @tagdesc
29 @tagend
30 
31 @params:
32 @param:type:string:heavy or regular:regular:true
33 @param:position:string:above or below:*none*:true
34 @paramdesc
35 The default staccato position is close to the note head, on the opposite side of the stem.
36 
37 See the [Articulations](@EXAMPLES/articulations/) example.
38 @paramend
39 
40 */
41 
44 class ARStaccato : public ARArticulation
45 {
46  public:
48 
49  virtual bool MatchEndTag(const char * s);
50 
51  ARStaccato();
52  virtual ~ARStaccato() {};
53 
54  virtual void setTagParameters (const TagParameterMap& params);
55 
56 // virtual void browse(TimeUnwrap& mapper) const;
57 
58  virtual const char* getParamsStr() const { return kARStaccatoParams; };
59  virtual const char* getTagName() const { return "ARStaccato"; };
60  virtual std::string getGMNName() const { return "\\staccato"; };
61  virtual unsigned int getSymbol() const;
62 
63  tTypeStacc getType() const { return fType; };
64 
65  private:
66  tTypeStacc fType;
67 };
68 
69 #endif
ARStaccato::tTypeStacc
tTypeStacc
Definition: ARStaccato.h:47
ARStaccato::setTagParameters
virtual void setTagParameters(const TagParameterMap &params)
ARArticulation
not yet documented
Definition: ARArticulation.h:25
ARStaccato::getSymbol
virtual unsigned int getSymbol() const
ARStaccato::getGMNName
virtual std::string getGMNName() const
Definition: ARStaccato.h:60
ARStaccato::getTagName
virtual const char * getTagName() const
Definition: ARStaccato.h:59
ARStaccato::getType
tTypeStacc getType() const
Definition: ARStaccato.h:63
ARStaccato::ARStaccato
ARStaccato()
ARStaccato
Staccato Tag.
Definition: ARStaccato.h:44
ARStaccato::~ARStaccato
virtual ~ARStaccato()
Definition: ARStaccato.h:52
ARStaccato::MatchEndTag
virtual bool MatchEndTag(const char *s)
ARStaccato::HEAVY
Definition: ARStaccato.h:47
ARStaccato::getParamsStr
virtual const char * getParamsStr() const
Definition: ARStaccato.h:58
TagParameterMap
A list of tag parameters represented as a map.
Definition: TagParameterMap.h:31
ARStaccato::REGULAR
Definition: ARStaccato.h:47

Guido Project Copyright © 2019 Grame-CNCM