Mercurial > hg > audiodb
view accumulator.h @ 430:2d14d21f826b api-inversion
Make the keys std::set in adb_t a std::map instead.
The key's index can usefully be the value, and now suddenly we can
remove audioDB::getKeyPos and its oh-so-helpful "this should be an STL
map" comment.
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:55:36 +0000 |
parents | a7d61291fbda |
children |
line wrap: on
line source
#ifndef ACCUMULATOR_H #define ACCUMULATOR_H class Accumulator { public: virtual ~Accumulator() {}; virtual void add_point(adb_result_t *r) = 0; virtual adb_query_results_t *get_points() = 0; }; #endif