liborigin2 13/09/2010
/builddir/build/BUILD/liborigin2-20101029/Origin610Parser.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     File                 : Origin610Parser.h
00003     --------------------------------------------------------------------
00004     Copyright            : (C) 2010 Ion Vasilief
00005     Email (use @ for *)  : ion_vasilief*yahoo.fr
00006     Description          : Origin 6.1 file parser class
00007 
00008  ***************************************************************************/
00009 
00010 /***************************************************************************
00011  *                                                                         *
00012  *  This program is free software; you can redistribute it and/or modify   *
00013  *  it under the terms of the GNU General Public License as published by   *
00014  *  the Free Software Foundation; either version 2 of the License, or      *
00015  *  (at your option) any later version.                                    *
00016  *                                                                         *
00017  *  This program is distributed in the hope that it will be useful,        *
00018  *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
00019  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
00020  *  GNU General Public License for more details.                           *
00021  *                                                                         *
00022  *   You should have received a copy of the GNU General Public License     *
00023  *   along with this program; if not, write to the Free Software           *
00024  *   Foundation, Inc., 51 Franklin Street, Fifth Floor,                    *
00025  *   Boston, MA  02110-1301  USA                                           *
00026  *                                                                         *
00027  ***************************************************************************/
00028 
00029 #ifndef ORIGIN_610_PARSER_H
00030 #define ORIGIN_610_PARSER_H
00031 
00032 #include "Origin800Parser.h"
00033 
00034 class Origin610Parser : public Origin800Parser
00035 {
00036 public:
00037     Origin610Parser(const string& fileName);
00038     bool parse();
00039 
00040 protected:
00041     void readSpreadInfo();
00042     void readMatrixInfo();
00043     bool readGraphInfo();
00044     void readResultsLog();
00045     void readNotes();
00046 
00047     int findObjectInfoSectionByName(unsigned int start, const string& name);
00048 };
00049 
00050 #endif // ORIGIN_610_PARSER_H