CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DDFrameGenerator Class Reference

#include <DDHtmlFormatter.h>

Public Member Functions

 DDFrameGenerator (std::ostream &os, const std::string &title, const std::string &n1="_ns", const std::string &n2="_list", const std::string &n3="_details", const std::string &u1="ns.html", const std::string &u2="list.html", const std::string &u3="details.html")
 
void doit ()
 

Private Attributes

std::string n1_
 
std::string n2_
 
std::string n3_
 
std::ostream & os_
 
std::string t_
 
std::string u1_
 
std::string u2_
 
std::string u3_
 

Detailed Description

Definition at line 89 of file DDHtmlFormatter.h.

Constructor & Destructor Documentation

DDFrameGenerator::DDFrameGenerator ( std::ostream &  os,
const std::string &  title,
const std::string &  n1 = "_ns",
const std::string &  n2 = "_list",
const std::string &  n3 = "_details",
const std::string &  u1 = "ns.html",
const std::string &  u2 = "list.html",
const std::string &  u3 = "details.html" 
)
inline

Definition at line 92 of file DDHtmlFormatter.h.

100  : t_(title), n1_(n1), n2_(n2), n3_(n3), u1_(u1), u2_(u2), u3_(u3), os_(os) { }
std::ostream & os_

Member Function Documentation

void DDFrameGenerator::doit ( )

Definition at line 362 of file DDHtmlFormatter.cc.

References f, DDHtmlFormatter::footer(), and DDHtmlFormatter::header().

363 {
365  os_ << f.header(t_);
366  os_ << "<frameset cols=\"25%,*\">" << endl;
367  os_ << " <frameset rows=\"50%,*\">" << endl;
368  os_ << " <frame src=\"" << u1_ << "\" name=\"" << n1_ << "\">" << endl;
369  os_ << " <frame src=\"" << u2_ << "\" name=\"" << n2_ << "\">" << endl;
370  os_ << " </frameset>" << endl;
371  os_ << " <frame src=\"" << u3_ << "\" name=\"" << n3_ << "\">" << endl;
372  os_ << "</frameset>" << endl;
373  os_ << f.footer() << endl;
374 }
std::ostream & os_
double f[11][100]
DDHtmlFormatter header(const std::string &text, const std::string &style="../../style.css")
DDHtmlFormatter footer()

Member Data Documentation

std::string DDFrameGenerator::n1_
private

Definition at line 105 of file DDHtmlFormatter.h.

std::string DDFrameGenerator::n2_
private

Definition at line 105 of file DDHtmlFormatter.h.

std::string DDFrameGenerator::n3_
private

Definition at line 105 of file DDHtmlFormatter.h.

std::ostream& DDFrameGenerator::os_
private

Definition at line 106 of file DDHtmlFormatter.h.

std::string DDFrameGenerator::t_
private

Definition at line 105 of file DDHtmlFormatter.h.

std::string DDFrameGenerator::u1_
private

Definition at line 105 of file DDHtmlFormatter.h.

std::string DDFrameGenerator::u2_
private

Definition at line 105 of file DDHtmlFormatter.h.

std::string DDFrameGenerator::u3_
private

Definition at line 105 of file DDHtmlFormatter.h.