GUIDOLib  1.7.7
Guido Engine Internal Documentation
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ARVolta.h
1 #ifndef __ARVolta__
2 #define __ARVolta__
3 
4 /*
5  GUIDO Library
6  Copyright (C) 2004 Grame
7 
8  This Source Code Form is subject to the terms of the Mozilla Public
9  License, v. 2.0. If a copy of the MPL was not distributed with this
10  file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 
12  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
13  research@grame.fr
14 
15 */
16 
17 #include "ARMTParameter.h"
18 #include "ARPositionTag.h"
19 
20 /*@mkdoc
21 
22 @group:Repeat Signs
23 
24 @tagname:\volta
25 @tagalias:\voltaBegin \voltaEnd
26 @tagtype:R
27 @tagnotation:support for multiple endings in repreated sections
28 @tagdesc
29 @tagend
30 
31 @params:
32 @param:mark:string:the section mark, typically the ending number:*none*:false
33 @param:format:string:the volta format:*none*:true
34 @paramdesc
35 - the **format** is a string in the form "|-|", "|-", "-|" or "-", that describes the shape of the line over the repeated section.
36 
37 See the [Repeat Signs](@EXAMPLES/repeats/) example.
38 @paramend
39 
40 */
41 
44 class ARVolta : public ARMTParameter, public ARPositionTag
45 {
46  public:
47  ARVolta();
48  virtual ~ARVolta() {}
49 
50  virtual const char* getParamsStr() const { return kARVoltaParams; };
51  virtual const char* getTagName() const { return "ARVolta"; };
52  virtual std::string getGMNName() const { return "\\volta"; };
53 
54  virtual void browse (TimeUnwrap& mapper) const;
55 
56  virtual bool MatchEndTag(const char * s);
57  const char* getMark() const;
58  const char* getFormat() const;
59 };
60 
61 #endif
ARVolta::browse
virtual void browse(TimeUnwrap &mapper) const
ARVolta::MatchEndTag
virtual bool MatchEndTag(const char *s)
ARVolta::getMark
const char * getMark() const
ARMTParameter
not yet documented
Definition: ARMTParameter.h:24
ARVolta::getGMNName
virtual std::string getGMNName() const
Definition: ARVolta.h:52
ARVolta::getParamsStr
virtual const char * getParamsStr() const
Definition: ARVolta.h:50
ARPositionTag
The base class for all range tags.
Definition: ARPositionTag.h:26
ARVolta::getFormat
const char * getFormat() const
ARVolta
for different repeat endings
Definition: ARVolta.h:44
ARVolta::getTagName
virtual const char * getTagName() const
Definition: ARVolta.h:51
ARVolta::~ARVolta
virtual ~ARVolta()
Definition: ARVolta.h:48
ARVolta::ARVolta
ARVolta()
TimeUnwrap
Definition: TimeUnwrap.h:29

Guido Project Copyright © 2019 Grame-CNCM