CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 129 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 131 of file DDHtmlFormatter.h.

139  : 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 335 of file DDHtmlFormatter.cc.

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

335  {
337  os_ << f.header(t_);
338  os_ << "<frameset cols=\"25%,*\">" << endl;
339  os_ << " <frameset rows=\"50%,*\">" << endl;
340  os_ << " <frame src=\"" << u1_ << "\" name=\"" << n1_ << "\">" << endl;
341  os_ << " <frame src=\"" << u2_ << "\" name=\"" << n2_ << "\">" << endl;
342  os_ << " </frameset>" << endl;
343  os_ << " <frame src=\"" << u3_ << "\" name=\"" << n3_ << "\">" << endl;
344  os_ << "</frameset>" << endl;
345  os_ << f.footer() << endl;
346 }
std::ostream & os_
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 144 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::n2_
private

Definition at line 144 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::n3_
private

Definition at line 144 of file DDHtmlFormatter.h.

Referenced by doit().

std::ostream& DDFrameGenerator::os_
private

Definition at line 145 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::t_
private

Definition at line 144 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u1_
private

Definition at line 144 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u2_
private

Definition at line 144 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u3_
private

Definition at line 144 of file DDHtmlFormatter.h.

Referenced by doit().