Histogram.h

Go to the documentation of this file.
00001 // vim:set ts=4 sw=4 noet cin:
00002 
00003 class Data;
00004 
00005 #ifndef HISTOGRAM_H_
00006 #define HISTOGRAM_H_
00007 
00011 class Histogram {
00012         public:
00013                 Histogram(const Data& aData);
00014 
00019                 unsigned long getAmount(unsigned short val) {
00020                         assert(val <= 4095);
00021                         return mVals[val];
00022                 }
00023 
00024         private:
00025                 unsigned long mVals[4096];
00026 };
00027 
00028 
00029 #endif

Generated on Mon Dec 19 00:13:20 2005 for Visualization by  doxygen 1.4.5