00001
00002
00004
00005 #if !defined(AFX_TABLE_H__90B89FDD_8A1C_4D06_A6DB_D982FFB6DBA8__INCLUDED_)
00006 #define AFX_TABLE_H__90B89FDD_8A1C_4D06_A6DB_D982FFB6DBA8__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "ComputingObject.h"
00013 #include <string>
00014
00015
00016 #include "Interpolator.h"
00017 namespace Interpolator
00018 {
00021 class Table : public ComputingObject
00022 {
00023 public:
00024 Table();
00025 Table(std::string sName,std::string sDescription,std::string InterpolationType,std::string sFilePath="");
00026 virtual ~Table();
00027 std::string getName() const;
00028 std::string getDescription() const;
00029 std::string getInterpolationType() const;
00030 std::string getFilePath() const;
00031
00032
00033
00034 virtual double computeValue()=0;
00035
00036 virtual void printInfos()=0;
00037
00038
00039
00040 private:
00041 std::string _sName;
00042 std::string _sDescription;
00043 std::string _sInterpolationType;
00044 std::string _sFilePath;
00045
00046
00047
00048 };
00049 }
00050 #endif // !defined(AFX_TABLE_H__90B89FDD_8A1C_4D06_A6DB_D982FFB6DBA8__INCLUDED_)
00051
00052