liborigin 2.0.0

/tmp/slackdce/slackrepo.5NA6jZ/build_liborigin/liborigin/Origin800Parser.h
Go to the documentation of this file.
1/***************************************************************************
2 File : Origin800Parser.h
3 --------------------------------------------------------------------
4 Copyright : (C) 2010 Ion Vasilief
5 Email (use @ for *) : ion_vasilief*yahoo.fr
6 Description : Origin 8.0 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_800_PARSER_H
30#define ORIGIN_800_PARSER_H
31
32#include "Origin750Parser.h"
33
34 class Origin800Parser : public Origin750Parser
35{
36 public:
37 Origin800Parser(const string& fileName);
38 bool parse();
39
40 protected:
41 void readSpreadInfo();
42 void readMatrixInfo();
43 void readGraphInfo();
44 void readColumnInfo(int spread, int);
45 void skipObjectInfo();
46 void readResultsLog();
47 virtual void readNotes();
48
49 bool findSection(const string& name, unsigned int length, unsigned int maxLength = 0);
50 unsigned int findStringPos(const string& name);
51
52 string notes_pos_mark;
53};
54
55#endif // ORIGIN_800_PARSER_H
Origin750Parser.h
Origin750Parser
Definition: Origin750Parser.h:43
Origin800Parser
Definition: Origin800Parser.h:35
Origin800Parser::Origin800Parser
Origin800Parser(const string &fileName)
Definition: Origin800Parser.cpp:31
Origin800Parser::readMatrixInfo
void readMatrixInfo()
Definition: Origin800Parser.cpp:979
Origin800Parser::readNotes
virtual void readNotes()
Definition: Origin800Parser.cpp:470
Origin800Parser::findStringPos
unsigned int findStringPos(const string &name)
Definition: Origin800Parser.cpp:2009
Origin800Parser::skipObjectInfo
void skipObjectInfo()
Definition: Origin800Parser.cpp:1967
Origin800Parser::readGraphInfo
void readGraphInfo()
Definition: Origin800Parser.cpp:1097
Origin800Parser::notes_pos_mark
string notes_pos_mark
Definition: Origin800Parser.h:52
Origin800Parser::parse
bool parse()
Definition: Origin800Parser.cpp:39
Origin800Parser::findSection
bool findSection(const string &name, unsigned int length, unsigned int maxLength=0)
Definition: Origin800Parser.cpp:2042
Origin800Parser::readSpreadInfo
void readSpreadInfo()
Definition: Origin800Parser.cpp:590
Origin800Parser::readResultsLog
void readResultsLog()
Definition: Origin800Parser.cpp:574
Origin800Parser::readColumnInfo
void readColumnInfo(int spread, int)
Definition: Origin800Parser.cpp:834