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

Guido Project Copyright © 2019 Grame-CNCM