GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARRestFormat.h
1 #ifndef ARRestFormat_H
2 #define ARRestFormat_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 
21 
22 /*@mkdoc
23 
24 @group:Notes
25 
26 @tagname:\restFormat
27 @tagalias:
28 @tagtype:RP
29 @tagnotation:control the rest format
30 @tagdesc
31 The **\restFormat** tag supports both a range and a position form.
32 For the latter, the format is applied up to the next format specification or to the end of the voice.
33 
34 **\restFormat** is a way to introduce [common parameters](../../tagsparams#common-parameters) to rest.
35 @tagend
36 
37 */
38 
39 
43 {
44  public:
45  ARRestFormat(const ARRestFormat *p_saverf = NULL, const ARRestFormat *copyrf = NULL)
46  : fSaveRF(p_saverf)
48 
49 
50  virtual ~ARRestFormat() {}
51 
52  virtual bool IsStateTag() const { return true; }
53 
54  virtual const char* getParamsStr() const { return ""; };
55  virtual const char* getTagName() const { return "ARRestFormat"; };
56  virtual std::string getGMNName() const { return "\\restFormat"; };
57 
58  virtual ARRestFormat *getEndTag() const { return new ARRestFormat(NULL,fSaveRF); }
59 
60  protected:
62 };
63 
64 #endif
ARRestFormat
not yet documented
Definition: ARRestFormat.h:42
ARRestFormat::getGMNName
virtual std::string getGMNName() const
Definition: ARRestFormat.h:56
ARMTParameter
not yet documented
Definition: ARMTParameter.h:24
ARRestFormat::ARRestFormat
ARRestFormat(const ARRestFormat *p_saverf=NULL, const ARRestFormat *copyrf=NULL)
Definition: ARRestFormat.h:45
ARMusicalTag::rangesetting
RANGE rangesetting
Definition: ARMusicalTag.h:140
ARRestFormat::fSaveRF
const ARRestFormat * fSaveRF
Definition: ARRestFormat.h:61
ARMusicalTag::RANGEDC
Definition: ARMusicalTag.h:44
ARRestFormat::IsStateTag
virtual bool IsStateTag() const
Definition: ARRestFormat.h:52
ARRestFormat::getParamsStr
virtual const char * getParamsStr() const
Definition: ARRestFormat.h:54
ARRestFormat::getEndTag
virtual ARRestFormat * getEndTag() const
Definition: ARRestFormat.h:58
ARRestFormat::getTagName
virtual const char * getTagName() const
Definition: ARRestFormat.h:55
ARRestFormat::~ARRestFormat
virtual ~ARRestFormat()
Definition: ARRestFormat.h:50
ARPositionTag
The base class for all range tags.
Definition: ARPositionTag.h:26

Guido Project Copyright © 2019 Grame-CNCM