annotate base/Event.cpp @ 1626:895186c43fce single-point

Experiment with storing vectors of event ids in seam map for compactness
author Chris Cannam
date Mon, 11 Mar 2019 13:44:35 +0000
parents
children
rev   line source
Chris@1626 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@1626 2
Chris@1626 3 /*
Chris@1626 4 Sonic Visualiser
Chris@1626 5 An audio file viewer and annotation editor.
Chris@1626 6 Centre for Digital Music, Queen Mary, University of London.
Chris@1626 7 This file copyright 2006 Chris Cannam.
Chris@1626 8
Chris@1626 9 This program is free software; you can redistribute it and/or
Chris@1626 10 modify it under the terms of the GNU General Public License as
Chris@1626 11 published by the Free Software Foundation; either version 2 of the
Chris@1626 12 License, or (at your option) any later version. See the file
Chris@1626 13 COPYING included with this distribution for more information.
Chris@1626 14 */
Chris@1626 15
Chris@1626 16 #include "Event.h"
Chris@1626 17
Chris@1626 18 sv_id_t Event::m_nextId = 1;
Chris@1626 19 QHash<Event, sv_id_t> Event::m_ids;
Chris@1626 20 QHash<sv_id_t, Event> Event::m_rids;
Chris@1626 21