GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARDaCapo.h
1 #ifndef __ARDaCapo__
2 #define __ARDaCapo__
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 "ARJump.h"
18 #include "TimeUnwrap.h"
19 
20 /*@mkdoc
21 
22 @group:Repeat Signs
23 
24 @tagname:\daCapo
25 @tagalias:
26 @tagtype:P
27 @tagnotation:Da Capo
28 @tagdesc
29 See the [Repeat Signs](@EXAMPLES/repeats/) example.
30 @tagend
31 
32 @tagname:\daCapoAlFine
33 @tagalias:
34 @tagtype:P
35 @tagnotation:Da Capo al Fine
36 @tagdesc
37 See the [Repeat Signs](@EXAMPLES/repeats/) example.<br/>
38 See the [Brown](@EXAMPLES/brown/) example.
39 @tagend
40 
41 */
42 
45 class ARDaCapo : public ARJump
46 {
47  public:
48  ARDaCapo() : ARJump ("D.C.") {}
49  virtual ~ARDaCapo() {}
50 
51  virtual const char* getTagName() const { return "ARDaCapo"; };
52  virtual std::string getGMNName() const { return "\\daCapo"; };
53 
54  virtual void browse(TimeUnwrap& mapper) const
55  { mapper.AtPos (this, TimeUnwrap::kDaCapo); }
56 };
57 
60 class ARDaCapoAlFine : public ARJump
61 {
62  public:
63  ARDaCapoAlFine() : ARJump ("D.C. al Fine") {}
64  virtual ~ARDaCapoAlFine() {}
65 
66  virtual const char* getTagName() const { return "ARDaCapoAlFine"; };
67  virtual std::string getGMNName() const { return "\\daCapoAlFine"; };
68 
69  virtual void browse(TimeUnwrap& mapper) const
70  { mapper.AtPos (this, TimeUnwrap::kDaCapoAlFine); }
71 };
72 
73 #endif
TimeUnwrap::kDaCapoAlFine
Definition: TimeUnwrap.h:53
TimeUnwrap::AtPos
virtual void AtPos(const ARMusicalObject *ev, EventType type)
ARDaCapoAlFine::getGMNName
virtual std::string getGMNName() const
Definition: ARDaCapo.h:67
ARDaCapo::getGMNName
virtual std::string getGMNName() const
Definition: ARDaCapo.h:52
ARDaCapoAlFine::getTagName
virtual const char * getTagName() const
Definition: ARDaCapo.h:66
ARDaCapoAlFine::~ARDaCapoAlFine
virtual ~ARDaCapoAlFine()
Definition: ARDaCapo.h:64
ARDaCapo::browse
virtual void browse(TimeUnwrap &mapper) const
Definition: ARDaCapo.h:54
ARDaCapo::getTagName
virtual const char * getTagName() const
Definition: ARDaCapo.h:51
ARDaCapoAlFine
da capo al fine
Definition: ARDaCapo.h:60
ARDaCapo::ARDaCapo
ARDaCapo()
Definition: ARDaCapo.h:48
ARDaCapo
da capo
Definition: ARDaCapo.h:45
ARDaCapo::~ARDaCapo
virtual ~ARDaCapo()
Definition: ARDaCapo.h:49
ARDaCapoAlFine::ARDaCapoAlFine
ARDaCapoAlFine()
Definition: ARDaCapo.h:63
ARJump
common implementation for \coda, \segno, \toCoda etc...
Definition: ARJump.h:25
TimeUnwrap::kDaCapo
Definition: TimeUnwrap.h:53
ARDaCapoAlFine::browse
virtual void browse(TimeUnwrap &mapper) const
Definition: ARDaCapo.h:69
TimeUnwrap
Definition: TimeUnwrap.h:29

Guido Project Copyright © 2019 Grame-CNCM