GUIDOLib  1.7.7
Guido Engine Internal Documentation
ARStaffOff.h
1 #ifndef ARStaffOff_H
2 #define ARStaffOff_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 
20 
21 /*@mkdoc
22 
23 @group:Layout
24 
25 @tagname:\staffOff
26 @tagalias:
27 @tagtype:P
28 @tagnotation:hides the staff
29 @tagdesc
30 The **\staffOff** tag effect is to hide the staff and all the staff elements up to the next **\staffOn** tag.
31 
32 The **\staffOn** and **\staffOff** tags are still experimental and may not provide the expected result depending on the context.
33 
34 See the [Layout](@EXAMPLES/layout/) example.
35 @tagend
36 
37 */
38 
41 class ARStaffOff : public ARMTParameter
42 {
43  public:
44 // friend class ARFactory;
45 
46  ARStaffOff() { }
47  virtual ~ARStaffOff() { }
48 
49  virtual int getOrder() const { return kDontMove; }
50 
51  virtual const char* getParamsStr() const { return ""; };
52  virtual const char* getTagName() const { return "ARStaffOff"; };
53  virtual std::string getGMNName() const { return "\\staffOff"; };
54 };
55 
56 #endif
ARStaffOff::~ARStaffOff
virtual ~ARStaffOff()
Definition: ARStaffOff.h:47
ARStaffOff::ARStaffOff
ARStaffOff()
Definition: ARStaffOff.h:46
ARStaffOff::getOrder
virtual int getOrder() const
Definition: ARStaffOff.h:49
ARMTParameter
not yet documented
Definition: ARMTParameter.h:24
ARStaffOff
not yet documented
Definition: ARStaffOff.h:41
ARMusicalTag::kDontMove
Definition: ARMusicalTag.h:40
ARStaffOff::getTagName
virtual const char * getTagName() const
Definition: ARStaffOff.h:52
ARStaffOff::getGMNName
virtual std::string getGMNName() const
Definition: ARStaffOff.h:53
ARStaffOff::getParamsStr
virtual const char * getParamsStr() const
Definition: ARStaffOff.h:51

Guido Project Copyright © 2019 Grame-CNCM