CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 348 of file DDHtmlFormatter.cc.

References f, DDHtmlFormatter::footer(), DDHtmlFormatter::header(), n1_, n2_, n3_, os_, t_, u1_, u2_, and u3_.

349 {
351  os_ << f.header(t_);
352  os_ << "<frameset cols=\"25%,*\">" << endl;
353  os_ << " <frameset rows=\"50%,*\">" << endl;
354  os_ << " <frame src=\"" << u1_ << "\" name=\"" << n1_ << "\">" << endl;
355  os_ << " <frame src=\"" << u2_ << "\" name=\"" << n2_ << "\">" << endl;
356  os_ << " </frameset>" << endl;
357  os_ << " <frame src=\"" << u3_ << "\" name=\"" << n3_ << "\">" << endl;
358  os_ << "</frameset>" << endl;
359  os_ << f.footer() << endl;
360 }
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.

Referenced by doit().

std::string DDFrameGenerator::n2_
private

Definition at line 105 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::n3_
private

Definition at line 105 of file DDHtmlFormatter.h.

Referenced by doit().

std::ostream& DDFrameGenerator::os_
private

Definition at line 106 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::t_
private

Definition at line 105 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u1_
private

Definition at line 105 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u2_
private

Definition at line 105 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u3_
private

Definition at line 105 of file DDHtmlFormatter.h.

Referenced by doit().