1
//--------------------------------------------------------------------------------------
2
// This file is part of the Lomse library.
3
// Copyright (c) 2010 Lomse project
5
// Lomse is free software; you can redistribute it and/or modify it under the
6
// terms of the GNU General Public License as published by the Free Software Foundation,
7
// either version 3 of the License, or (at your option) any later version.
9
// Lomse is distributed in the hope that it will be useful, but WITHOUT ANY
10
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
// PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
// You should have received a copy of the GNU General Public License along
14
// with Lomse; if not, see <http://www.gnu.org/licenses/>.
16
// For any comment, suggestion or feature request, please contact the manager of
17
// the project at cecilios@users.sourceforge.net
19
//-------------------------------------------------------------------------------------
21
#include "lomse_basic_model.h"
23
#include "lomse_internal_model.h"
30
//-------------------------------------------------------------------------------------
31
// InternalModel implementation
32
//-------------------------------------------------------------------------------------
34
InternalModel::InternalModel()
39
InternalModel::~InternalModel()
47
void InternalModel::delete_beams()
49
std::list<ImoBeam*>::iterator it;
50
for (it = m_beams.begin(); it != m_beams.end(); ++it)
55
void InternalModel::delete_tuplets()
57
std::list<ImoTuplet*>::iterator it;
58
for (it = m_tuplets.begin(); it != m_tuplets.end(); ++it)