CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Button.h
Go to the documentation of this file.
1 #ifndef _DQM_TrackerCommon_Button_h_
2 #define _DQM_TrackerCommon_Button_h_
3 
13 #include "xgi/Method.h"
14 #include "cgicc/HTMLClasses.h"
16 
17 
18 class Button : public WebElement
19 {
20  private:
22  std::string name;
24  std::string requestID;
25 
26  public:
27 
28  Button(std::string the_url, std::string top, std::string left, std::string the_requestID, std::string the_name)
29  : WebElement(the_url, top, left)
30  {
31  name = the_name;
32  requestID = the_requestID;
33  }
34 
36  {
37  }
38 
39  void printHTML(xgi::Output *out);
40 };
41 
42 
43 #endif
Definition: Button.h:18
void printHTML(xgi::Output *out)
Definition: Button.cc:4
std::string name
the name that will appear on the button
Definition: Button.h:22
std::string requestID
the string connected to the callback, eg "Default"
Definition: Button.h:24
tuple out
Definition: dbtoconf.py:99
~Button()
Definition: Button.h:35
Button(std::string the_url, std::string top, std::string left, std::string the_requestID, std::string the_name)
Definition: Button.h:28
#define Output(cl)
Definition: vmac.h:193