summaryrefslogtreecommitdiff
path: root/tools/fileDataProvider.h
blob: fd8f00de71146766576e2afed794e08cd9e9d608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef FDPROV_H
#define FDPROV_H

#include "dataProvider.h"
#include <string>

class FileDP:public DataProvider
{
private:
    std::string fname;
    bool eof;
public:
    FileDP(std::string fn=""):fname(fn),eof(false){};
    void setFname(std::string fn){fname=fn;};
    virtual int getDataSet(DataSet &out){
        return 0;
    }
    virtual int getLabel(Labels &out){
        return 0;
    };
    virtual int open(){return 0;};
    virtual bool EOFile(){return eof;};
};

#endif