00001 #ifndef CLIDISTRIBUTION_H 00002 #define CLIDISTRIBUTION_H 00003 00004 #include <vector> 00005 #include "Distribution.h" 00006 00007 using namespace std; 00008 00009 namespace BIE { 00010 00011 //+ CLICLASS vector<BinnedDistribution*> [1] 00012 //+ CLICONSTR int 00013 00015 //+ CLICLASS cliDistribution SUPER vector<BinnedDistribution*> 00016 class cliDistribution : public vector<BinnedDistribution*> 00017 { 00018 public: 00019 //+ CLICONSTR 00021 cliDistribution() : vector<BinnedDistribution*>() { 00022 } 00023 00024 //+ CLICONSTR void* 00026 cliDistribution(void *) {}; 00027 00028 //+ CLICONSTR int 00030 cliDistribution(int i) : vector<BinnedDistribution*>(i) { 00031 } 00032 00033 //+ CLIMETHOD BinnedDistribution* getval int 00035 BinnedDistribution* getval(int pos) { 00036 return (*this)[pos]; 00037 } 00038 00039 //+ CLIMETHOD void setval int BinnedDistribution* 00041 void setval(int i, BinnedDistribution* val) { 00042 (*this)[i] = val; 00043 } 00044 00045 }; 00046 } 00047 00048 #endif