00001 00024 #ifndef _REPLAYFEATURECONTAINER_H 00025 #define _REPLAYFEATURECONTAINER_H 00026 00027 #include "FeatureContainer.h" 00028 00032 class ReplayFeatureContainer : public FeatureContainer { 00033 private: 00035 00036 //ifstream in; // Fuck ifstream ! it works on small files, but is unable to open a >30MB file correctly ! 00037 FILE *in; 00038 featurevector s; 00040 00041 public: 00050 ReplayFeatureContainer(ConfigReader *config); 00052 virtual ~ReplayFeatureContainer(); 00053 00054 virtual void nextSample(); 00055 virtual const featurevector* getSampleVector() const; 00056 00058 void resetFile(); 00060 long getFilesize(); 00062 long getCurrentPos(); 00063 }; 00064 00065 #endif // _REPLAYFEATURECONTAINER_H