database.cpp File Reference

#include <qtreewidget.h>
#include <qlabel.h>
#include <cstdio>
#include "history.h"
#include "database.h"
#include "song-metric.h"
#include "qsong.h"
#include "selector.h"
#include "players-manager.h"
#include "vector-iterator.h"
#include "tags.h"
#include "heap.h"
#include "statistics.h"
#include "bpmdj.h"
#include "existence-scanner.h"
#include "scripts.h"
#include "info.h"
#include "qt-helpers.h"
Include dependency graph for database.cpp:

Functions

all clear ()
 bpmdj_deallocate (and_include)
 bpmdj_deallocate (or_include)
 bpmdj_deallocate (exclude)
return set_answer (show, itemcount, target)
 assert (itemcount<=count)
 assert (count<=newsongs->size())
target addVector (show, count)

Variables

 file2song = map<QString,Song*>()
 and_include = NULL
 or_include = NULL
 exclude = NULL
delete[] tag = NULL
return true
Song ** show = bpmdj_allocate(count,Song*)
int itemcount = heap.copy_to(show)
return entries

Function Documentation

target addVector ( show  ,
count   
)
assert ( count<=newsongs->  size()  ) 
assert ( itemcount<=  count  ) 

Referenced by SongHeap::add(), Tags::add_tag(), DataBase::addNewSongs(), ConfigState::addTo(), QSong::addVector(), Md5Analyzer::analyze(), backgroundColor(), RhythmAnalyzer::calculateRhythmPattern2(), UpdateSongFilename::change(), clock_driver::changetempo(), channel_to_energy(), check_start(), SongSlot::checkerDied(), chunk_getter(), common_init(), core_start(), QSong::data(), Song::determine_color(), TestProcess::died(), do_pca(), Player::done(), edist(), energize(), escape(), Process::exec(), execute(), ExitStatus::exit(), SongSelectorLogic::exportTempoList(), SpectrumAnalyzer::fetchSpectrum_normal(), Fft< Channels >::Fft(), fft_to_bark(), SongSelectorLogic::filterProposedList(), findItem(), findOneItem(), firstItem(), FragmentFile::FragmentFile(), FragmentInMemory::FragmentInMemory(), HalfComplex< Type, Channels >::fromPolar(), fsize(), dsp_driver::get_driver(), smallhistogram_type< bandsize >::get_energy(), get_rawpath(), SongSlot::getAnalCommand(), SongSlot::getPlayCommand(), DataBase::getSelection(), HalfComplex< Type, Channels >::HalfComplex(), if(), index2autocortempo(), Tags::init(), histogram_type::init(), init_process_overseer(), constVectorIterator< K >::key(), vectorIterator< K >::key(), multisetIterator< K, C >::key(), setIterator< K, C >::key(), simpleSetIterator< K >::key(), treeWidgetIterator< T >::key(), lastItem(), listen_to_main_requests(), Config::load(), Player::loadMap(), main(), map_active(), map_output(), Player::mapScaleChanged(), Player::mapStart(), BpmCounter::measure(), min3(), Player::mouseMoveEvent(), Player::mousePressEvent(), Player::mouseReleaseEvent(), myalloc(), myrealloc(), nextSibling(), Config::open_ui(), openRawFile(), openRawFileForWriting(), openScriptFile(), Sample< Type, Channels >::operator[](), poll_death(), process_death_pids(), process_main_request(), SongSelectorPlayView::processChange(), SongSelectorAnalView::processChange(), read_audio(), readsamples(), RenamerLogic::realizeSelection(), request_spawn(), SongSelectorLogic::reread_and_repaint(), return_death_pids(), rms_init(), ActiveSpectrumPca_msg_::run(), ActiveSongCopier_msg_::run(), ActiveIndexReader_msg_::run(), ActiveFragmentPlayer_msg_::run(), ActiveFragmentCreator_msg_::run(), FragmentCreated::run(), ActiveExistenceScanner_msg_::run(), ActiveClusterer_msg_::run(), selectAll(), selectedSongIterator::selectedSongIterator(), histogram_property< bandsize >::set_data(), set_decoder_environment(), smallhistogram_type< bandsize >::set_energy(), set_normalperiod_metarate(), SongSlot::setEnabled(), BeatGraphAnalyzer::setTempo(), QSong::setVector(), Song::simpledump(), SongProcess::SongProcess(), SongSelectorLogic::SongSelectorLogic(), Process::spawn(), spawn_request(), spectrum_to_bark(), SongSlot::start(), SongProcess::start(), dsp_driver::start(), SongSlot::startChecking(), ProcessManager::startSong(), stats_get_freq(), ExitStatus::statusText(), QSong::text(), ActiveIndexReader::thunk(), Player::timerTick(), HalfComplex< Type, Channels >::toPolar(), Player::update_map_scale_box(), UpdateIndexedSong::UpdateIndexedSong(), valuetick(), wave_close(), wave_open(), DecoderChecker::works(), dsp_none::write(), dsp_alsa::write(), writesamples(), x_normalise(), and y_normalise().

bpmdj_deallocate ( exclude   ) 
bpmdj_deallocate ( or_include   ) 
bpmdj_deallocate ( and_include   ) 
cache clear (  ) 

Referenced by PixmapCache::find().

return set_answer ( show  ,
itemcount  ,
target   
)

Variable Documentation

and_include = NULL
return entries

Referenced by DataBase::closestSongs().

exclude = NULL
file2song = map<QString,Song*>()
int itemcount = heap.copy_to(show)
or_include = NULL
Song** show = bpmdj_allocate(count,Song*)
tag = NULL
return true
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2