summaryrefslogtreecommitdiff
path: root/tools/fileDataProvider.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fileDataProvider.h')
-rw-r--r--tools/fileDataProvider.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/fileDataProvider.h b/tools/fileDataProvider.h
new file mode 100644
index 0000000..3cfb3f9
--- /dev/null
+++ b/tools/fileDataProvider.h
@@ -0,0 +1,20 @@
+#ifndef FDPROV_H
+#define FDPROV_H
+
+#include "dataProvider.h"
+#include <string>
+
+class FileDP:public DataProvider
+{
+private:
+ std::string fname;
+public:
+ FileDP(){};
+ FileDP(std::string fn):fname(fn){};
+ virtual Eigen::MatrixXd* getNextAttr();
+ virtual Eigen::VectorXd* getNextPref();
+ virtual int open();
+ virtual bool EOFile();
+};
+
+#endif \ No newline at end of file