fedithead  Richard J. Mathar
Fitsheaderkeywordbatcheditor
 All Classes Files Functions Variables Macros
csv2Fits.h
Go to the documentation of this file.
1 #ifndef CVS2FITS_H
2 #define CVS2FITS_H
3 
4 #include "config.h"
5 #include <string>
6 #include <vector>
7 
11 class csv2Fits {
12 public:
15  std::string csvFil ;
16 
21  char fsep ;
22 
23  csv2Fits(const std::string infile, const char fsep=',') ;
24 
25  void cnvrt(const std::string typs) const ;
26 
27 
28 protected:
29  std::vector<std::string> strtok(const std::string lin) const ;
30 
31  std::vector<int> colWidths(int & lineCnt) const ;
32 
33 private:
34 } ;
35 #endif