blob: 7937866b7057d64ac582f7485134c4a2113b93fc (
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
|
#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* getAttr(){
return new Eigen::MatrixXd(3,3);
}
virtual Eigen::VectorXd* getPref(){
return new Eigen::VectorXd(3);
};
virtual int open(){return 0;};
virtual bool EOFile(){return true;};
};
#endif
|