liborigin  2.0.0
Origin610Parser.h
Go to the documentation of this file.
1 /***************************************************************************
2  File : Origin610Parser.h
3  --------------------------------------------------------------------
4  Copyright : (C) 2010 Ion Vasilief
5  Email (use @ for *) : ion_vasilief*yahoo.fr
6  Description : Origin 6.1 file parser class
7 
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  * This program is distributed in the hope that it will be useful, *
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
20  * GNU General Public License for more details. *
21  * *
22  * You should have received a copy of the GNU General Public License *
23  * along with this program; if not, write to the Free Software *
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
25  * Boston, MA 02110-1301 USA *
26  * *
27  ***************************************************************************/
28 
29 #ifndef ORIGIN_610_PARSER_H
30 #define ORIGIN_610_PARSER_H
31 
32 #include "Origin800Parser.h"
33 
35 {
36 public:
37  Origin610Parser(const string& fileName);
38  bool parse();
39 
40 protected:
41  void readSpreadInfo();
42  void readMatrixInfo();
43  bool readGraphInfo();
44  void readResultsLog();
45  void readNotes();
46 
47  int findObjectInfoSectionByName(unsigned int start, const string& name);
48 };
49 
50 #endif // ORIGIN_610_PARSER_H
Definition: Origin610Parser.h:34
int findObjectInfoSectionByName(unsigned int start, const string &name)
Definition: Origin610Parser.cpp:1876
void readMatrixInfo()
Definition: Origin610Parser.cpp:786
bool readGraphInfo()
Definition: Origin610Parser.cpp:919
bool parse()
Definition: Origin610Parser.cpp:38
Origin610Parser(const string &fileName)
Definition: Origin610Parser.cpp:32
Definition: Origin800Parser.h:34
void readNotes()
Definition: Origin610Parser.cpp:459
void readResultsLog()
Definition: Origin610Parser.cpp:562
void readSpreadInfo()
Definition: Origin610Parser.cpp:578