CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
WebElement.h
Go to the documentation of this file.
1 #ifndef _WebElement_
2 #define _WebElement_
3 
4 #include "xgi/Utils.h"
5 #include "xgi/Method.h"
6 
7 
8 class WebElement
9 {
10  private:
11 
13  std::string url;
15  std::string pix_top;
17  std::string pix_left;
18 
19  public:
20 
21  WebElement(std::string the_url, std::string top, std::string left)
22  {
23  url = the_url;
24  pix_top = top;
25  pix_left = left;
26  }
27 
28  virtual ~WebElement()
29  {
30  }
31 
32  std::string get_url()
33  {
34  return url;
35  }
36 
37  std::string get_pix_top() { return pix_top; }
38  std::string get_pix_left() { return pix_left; }
39 
40  virtual void printHTML(xgi::Output *out) = 0;
41 
42 };
43 
44 #endif
std::string get_pix_left()
Definition: WebElement.h:38
WebElement(std::string the_url, std::string top, std::string left)
Definition: WebElement.h:21
std::string pix_top
position in pixels (from top)
Definition: WebElement.h:15
std::string get_url()
Definition: WebElement.h:32
std::string pix_left
position in pixels (from left)
Definition: WebElement.h:17
tuple out
Definition: dbtoconf.py:99
std::string get_pix_top()
Definition: WebElement.h:37
virtual ~WebElement()
Definition: WebElement.h:28
std::string url
The url of the application.
Definition: WebElement.h:13
#define Output(cl)
Definition: vmac.h:193
virtual void printHTML(xgi::Output *out)=0