Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
articulation.h
Go to the documentation of this file.
1 
8 #ifndef ARTICULATION_H_
9 #define ARTICULATION_H_
10 
11 #include "core/mark.h"
12 #include "core/note.h"
13 
14 class CAArticulation : public CAMark {
15 public:
17  Undefined = -1,
44  };
45 
47  virtual ~CAArticulation();
48 
50  int compare(CAMusElement *elt);
51 
52  inline CANote *associatedNote() { return static_cast<CANote*>(associatedElement()); }
53  inline void *setAssociatedNote( CANote* n ) { setAssociatedElement(n); }
54 
57 
58  static const QString articulationTypeToString( CAArticulationType t );
59  static CAArticulationType articulationTypeFromString( const QString s );
60 
61 private:
63 };
64 
65 #endif /* ARTICULATION_H_ */