MuseScore  3.4
Music composition and notation
tiemap.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2002-2011 Werner Schweer
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2
9 // as published by the Free Software Foundation and appearing in
10 // the file LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __TIEMAP_H__
14 #define __TIEMAP_H__
15 
16 #include "elementmap.h"
17 
18 namespace Ms {
19 
20 class Tie;
21 
22 //---------------------------------------------------------
23 // TieMap
24 //---------------------------------------------------------
25 
26 class TieMap : public ElementMap {
27 
28  public:
29  TieMap() {}
30  Tie* findNew(Tie* o) const { return (Tie*)(ElementMap::findNew((Element*)o)); }
31  void add(Tie* _o, Tie* _n) { ElementMap::add((Element*)_o, (Element*)_n); }
32  };
33 
34 
35 } // namespace Ms
36 #endif
37 
TieMap()
Definition: tiemap.h:29
Base class of score layout elements.
Definition: element.h:158
void add(Tie *_o, Tie *_n)
Definition: tiemap.h:31
Element * findNew(Element *o) const
Definition: elementmap.h:28
void add(Element *o, Element *n)
Definition: elementmap.h:29
Tie * findNew(Tie *o) const
Definition: tiemap.h:30
Definition: aeolus.cpp:26
a Tie has a Note as startElement/endElement
Definition: tie.h:60
Definition: elementmap.h:24
Definition: tiemap.h:26