Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
TrackerCommon
src
HTMLLink.cc
Go to the documentation of this file.
1
#include "
DQM/TrackerCommon/interface/HTMLLink.h
"
2
3
4
void
HTMLLink::printHTML
(
xgi::Output
*
out
)
5
{
6
std::string
position
=
"position:absolute; left:"
+
get_pix_left
() +
"; top:"
+
get_pix_top
();
7
*out << cgicc::div().set(
"style"
, position.c_str()) << std::endl;
8
9
*out <<
cgicc::a
().set(
"href"
,
link_url
.c_str()) <<
text
.c_str() <<
cgicc::a
() << std::endl;
10
11
*out << cgicc::div() << std::endl;
12
}
WebElement::get_pix_left
std::string get_pix_left()
Definition:
WebElement.h:38
HTMLLink::printHTML
void printHTML(xgi::Output *out)
Definition:
HTMLLink.cc:4
HTMLLink.h
position
static int position[TOTALCHAMBERS][3]
Definition:
ReadPGInfo.cc:509
HTMLLink::link_url
std::string link_url
Definition:
HTMLLink.h:14
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
WebElement::get_pix_top
std::string get_pix_top()
Definition:
WebElement.h:37
Output
#define Output(cl)
Definition:
vmac.h:193
a
double a
Definition:
hdecay.h:121
HTMLLink::text
std::string text
the text of the link
Definition:
HTMLLink.h:13
Generated for CMSSW Reference Manual by
1.8.5