00001 #include <string> 00002 #include "CLevmarConfParser.hpp" 00003 #include "CLevmarConfLexer.hpp" 00004 00005 class CLevmarConf{ 00006 public: 00007 void GetData(std::ifstream &instream); 00008 void GetData(std::string filename); 00009 void WriteData(std::ofstream &outstream); 00010 void WriteData(std::string filename); 00011 int maxiter; 00012 std::string mode; 00013 std::string mtfit; 00014 std::string mtinputdata; 00015 std::string recinputdata; 00016 std::string recmethod; 00017 std::string rfabsveldata; 00018 double slowness; 00019 double omega; 00020 double sigma; 00021 int shift; 00022 double wlevel; 00023 double poisson; 00024 double starttime; 00025 double endtime; 00026 double tensorerror; 00027 double phaseerror; 00028 double reserror; 00029 double recerror; 00030 std::vector< double > minres; 00031 std::vector< double > maxres; 00032 std::vector< double > startres; 00033 std::vector< double > minthick; 00034 std::vector< double > maxthick; 00035 std::vector< double > startthick; 00036 std::vector< double > minsvel; 00037 std::vector< double > maxsvel; 00038 std::vector< double > startsvel; 00039 std::vector< double > weights; 00040 double recweight; 00041 double absvelweight; 00042 CLevmarConf(std::string filename){GetData(filename);} 00043 CLevmarConf(){} 00044 };
1.5.8