MarkedItemsParser.h
Go to the documentation of this file.00001 #ifndef MARKED_ITEMS_PARSER_H
00002 #define MARKED_ITEMS_PARSER_H
00003
00004 #include <iostream.h>
00005 #include <qfile.h>
00006 #include <qstring.h>
00007 #include <qstringlist.h>
00008 #include <qxml.h>
00009 #include <stdlib.h>
00010 #include <string.h>
00011 #include "Util.h"
00012
00013 class MarkedItemsParser : public QXmlDefaultHandler {
00014
00015 public:
00016
00017 MarkedItemsParser();
00018 bool startElement( const QString&, const QString&, const QString&, const QXmlAttributes& attribs );
00019
00020 IdList* getMarkedFolders() const;
00021 IdList* getMarkedVocabs() const;
00022 IdListMap* getMarkedTerms() const;
00023
00024 private:
00025
00026 IdList* markedFolderIdList;
00027 IdList* markedVocabIdList;
00028 IdListMap* markedTermIdListMap;
00029
00030 };
00031
00032 #endif