GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARBow.h
1 
2 #pragma once
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:\bow
25 @tagalias:
26 @tagtype:RP
27 @tagnotation:bowing indication
28 @tagdesc
29 Strings specific tag.
30 @tagend
31 
32 @params:
33 @param:type:string:up or down:up:false
34 @param:position:string:above or below:above:true
35 @paramdesc
36 
37 @paramend
38 
39 */
40 
43 class ARBow : public ARArticulation
44 {
45  public:
46  ARBow();
47  virtual ~ARBow() {}
48 
49  virtual void setTagParameters (const TagParameterMap& params);
50 
51  virtual const char* getParamsStr() const { return kARBowParams; };
52  virtual const char* getTagName() const { return "ARBow"; };
53  virtual std::string getGMNName() const { return "\\bow"; };
54  virtual unsigned int getSymbol() const;
55 
56  bool up() const { return fUp; }
57 
58  protected:
59  bool fUp = true;
60 };
ARBow::getSymbol
virtual unsigned int getSymbol() const
ARBow::getGMNName
virtual std::string getGMNName() const
Definition: ARBow.h:53
ARBow::getParamsStr
virtual const char * getParamsStr() const
Definition: ARBow.h:51
ARArticulation
not yet documented
Definition: ARArticulation.h:25
ARBow
String specific: bowing.
Definition: ARBow.h:43
ARBow::~ARBow
virtual ~ARBow()
Definition: ARBow.h:47
ARBow::getTagName
virtual const char * getTagName() const
Definition: ARBow.h:52
ARBow::fUp
bool fUp
Definition: ARBow.h:59
ARBow::setTagParameters
virtual void setTagParameters(const TagParameterMap &params)
ARBow::ARBow
ARBow()
TagParameterMap
A list of tag parameters represented as a map.
Definition: TagParameterMap.h:31
ARBow::up
bool up() const
Definition: ARBow.h:56

Guido Project Copyright © 2019 Grame-CNCM