CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/TrackerCommon/interface/WebElement.h

Go to the documentation of this file.
00001 #ifndef _WebElement_
00002 #define _WebElement_
00003 
00004 #include "xgi/Utils.h"
00005 #include "xgi/Method.h"
00006 
00007 
00008 class WebElement
00009 {
00010  private:
00011 
00013    std::string url; 
00015    std::string pix_top; 
00017    std::string pix_left; 
00018 
00019  public:
00020 
00021   WebElement(std::string the_url, std::string top, std::string left)
00022     {
00023       url = the_url;
00024       pix_top = top;
00025       pix_left = left;
00026     }
00027 
00028   virtual ~WebElement()
00029     {
00030     }
00031 
00032   std::string get_url()
00033     {
00034       return url;
00035     }
00036 
00037   std::string get_pix_top() { return pix_top; }
00038   std::string get_pix_left() { return pix_left; }
00039   
00040   virtual void printHTML(xgi::Output *out) = 0;
00041 
00042 };
00043 
00044 #endif