Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

chromatparser.h

Go to the documentation of this file.
00001 #ifndef CHROMATPARSER_H
00002 #define CHROMATPARSER_H
00003 
00004 #include <qxml.h>
00005 #include <qstring.h>
00006 #include <vector>
00007 #include "trappervector.h"
00008 
00009 class ChromatParser : public QXmlDefaultHandler
00010 {
00011 public:
00012   ChromatParser();
00013   ~ChromatParser();
00014 
00015   bool startElement( const QString & namespaceURI, const QString & localName, 
00016                      const QString & qName, const QXmlAttributes & atts  );
00017   bool endElement(const QString & namespaceURI, const QString & localName, 
00018                   const QString & qName );
00019 
00020   void set_result_array(std::vector<TrapperVector<Q_UINT32> >* array);
00021 
00022 private:
00023   bool inDATA;
00024   int curr_tag_num;
00025   std::vector<TrapperVector<Q_UINT32> >* chromats;
00026   QString FWO_;
00027 };
00028 
00029 
00030 #endif //CHROMATPARSER_H

Generated on Fri Mar 17 17:44:24 2006 for trapper by  doxygen 1.4.4