Canorus
0.7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
repeatmark.h
Go to the documentation of this file.
1
8
#ifndef REPEATMARK_H_
9
#define REPEATMARK_H_
10
11
#include "
core/mark.h
"
12
13
class
CABarline
;
14
15
class
CARepeatMark
:
public
CAMark
{
16
public
:
17
enum
CARepeatMarkType
{
18
Undefined
= 0,
19
Volta
= 1,
20
Segno
= 2,
21
Coda
= 3,
22
VarCoda
= 4,
23
DalSegno
= 5,
24
DalCoda
= 6,
25
DalVarCoda
= 7
26
};
27
28
CARepeatMark
(
CABarline
*b,
CARepeatMarkType
t,
int
voltaNumber
= 0 );
29
virtual
~CARepeatMark
();
30
31
CARepeatMark
*
clone
(
CAMusElement
* elt=0);
32
int
compare
(
CAMusElement
*);
33
34
inline
CARepeatMarkType
repeatMarkType
() {
return
_repeatMarkType
; }
35
inline
void
setRepeatMarkType
(
CARepeatMarkType
t ) {
_repeatMarkType
= t; }
36
37
inline
int
voltaNumber
() {
return
_voltaNumber
; }
38
inline
void
setVoltaNumber
(
int
n ) {
_voltaNumber
= n; }
39
40
static
const
QString
repeatMarkTypeToString
(
CARepeatMarkType
t );
41
static
CARepeatMarkType
repeatMarkTypeFromString
(
const
QString r );
42
43
private
:
44
CARepeatMarkType
_repeatMarkType
;
45
int
_voltaNumber
;
46
};
47
48
#endif
/* REPEATMARK_H_ */
Generated on Fri Jan 11 2013 14:40:12 for Canorus by
1.8.3