GPLIB++
CalcRecConf.h
Go to the documentation of this file.
1 /***************************************************************************
2  Copyright (C) 2007 - 2009 Max Moorkamp
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 
18  ***************************************************************************/
19 
20 #include <string>
21 
22 namespace gplib
23  {
25  {
26  private:
27  int argc;
28  char **argv;
29  public:
30  void GetData(std::string filename);
31  void GetData(std::ifstream &instream);
32  double upperfreq;
33  double lowerfreq;
34  double cc;
35  double sigma;
36  int shift;
37  std::string recmethod;
38  bool normalize;
39  bool rotate;
40  double rotwin;
41  bool prec;
42  double beta;
43  double p;
44  CalcRecConf(std::string filename)
45  {
46  GetData(filename);
47  }
48  CalcRecConf(int ac = 0, char **av = (char **)0) :
49  argc(ac), argv(av)
50  {
51  }
52  };
53  }
std::string recmethod
Definition: CalcRecConf.h:37
CalcRecConf(int ac=0, char **av=(char **) 0)
Definition: CalcRecConf.h:48
void GetData(std::string filename)
Definition: CalcRecConf.cpp:32
CalcRecConf(std::string filename)
Definition: CalcRecConf.h:44