/[kvoss_old]/kvsvv/trunk/src/filehandling.h
ViewVC logotype

Contents of /kvsvv/trunk/src/filehandling.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3206 - (show annotations) (download)
Wed Jan 4 12:34:06 2012 UTC (7 years, 10 months ago) by terjeer
File MIME type: text/plain
File size: 1623 byte(s)
- first checkin -
1 #ifndef filehandling_H
2 #define filehandling_H
3
4
5 class Filehandling
6 {
7 public:
8 Filehandling(QString convertPath,QString opdataPath, QString station);
9 Filehandling(QString convertPath,QString xmlFileName);
10 ~Filehandling();
11 void writeKvalobs_file(QStringList liste,QString id,QString paramHeader,QString kvalobsId);
12 void read_fileContent(QString *linestab,QTextStream &in,QStringList list);
13 void read_fileContent(QString *linestab,QTextStream &in);
14 void read_fileContent(QTextStream &in,QStringList &list);
15 void write_fileContent(QString *linestab,QTextStream &in,int maxLines,QStringList list);
16 void write_fileContent(QString *linestab, QTextStream &in,int maxLines);
17 void remove_line(QString fileName,QStringList list);
18 QStringList fileToList(QString fileName,QStringList list);
19 QString stringElement(int spaceNr, QTextStream &in,QString streng);
20 QString findStringInFile(QString fileName,QString streng);
21 QString findHeaderInFile(QString fileName);
22 void remove_file(QString file1);
23 int count_lines(QTextStream &stream,bool blank);
24 void updateLogFile(QString fileName,QString logFile);
25 QStringList compareFiles(QString file1, QString file2);
26 QStringList listOfFilesToSend(QString *linestab1, QString *linestab2, int maxLines1, int maxLines2);
27 bool isStringInArray(QString streng, QString * var, int maxLines);
28 bool isStringInFile(QString streng, QString fileName);
29 bool isFileConverted(QString fileName);
30 bool stringMatchOneListElement(QString streng,QStringList list);
31 private:
32 QString convertPath,opdataPath,station,xmlFileName;
33 QString header;
34 };
35
36 #endif

svn@met.no
ViewVC Help
Powered by ViewVC 1.1.5