blob: 9ce78e60e784ed2ced66f4a60c67742e517b36dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef FDPROV_H
#define FDPROV_H
#include "dataProvider.h"
#include <string>
class FileDP:public DataProvider
{
private:
std::string fname;
public:
FileDP(std::string fn=""):fname(fn){};
void setFname(std::string fn){fname=fn;};
virtual int getDataSet(DataList &out){
return 0;
}
int getDataSet(DataSet &D) {return 0;}
int getLabel(Labels &l) {return 0;}
virtual int open(){eof=true;return 0;};
virtual int close(){return 0;};
};
#endif
|