#ifndef _HTMLOBJECTPARSER_H #define _HTMLOBJECTPARSER_H class DBObject; #include "HTMLParser.h" #include "StringMap.h" #include "FilterGroup.h" #include #include #include using namespace std; class HTMLObjectParser: public HTMLParser { FilterGroup m_settings; public: //produces an Article from random HTML HTMLObjectParser(const int _pagegroupid, TIPsDatabase *_db, const Domain *_domain, const int _type); ~HTMLObjectParser(); const int parsertype() const; size_t init(); //exceptions class MissingProperty {}; class UnknownObjectType {}; class NotEnoughProperties {}; const size_t parse(const InternetResource *ir, vector *objects) const; }; #endif