00001 #ifndef _WebPage_h_ 00002 #define _WebPage_h_ 00003 00004 #include "xgi/Method.h" 00005 #include "cgicc/HTMLClasses.h" 00006 00007 #include "DQM/TrackerCommon/interface/WebElement.h" 00008 00009 00010 class WebPage 00011 { 00012 private: 00013 00014 std::string url; 00015 std::map<std::string, WebElement *> element_map; 00016 00017 protected: 00018 00019 public: 00020 00021 WebPage(std::string the_url); 00022 00023 void add(std::string, WebElement *); 00024 void remove(std::string); 00025 void clear(); 00026 00027 void printHTML(xgi::Output * out); 00028 }; 00029 00030 #endif