CMS 3D CMS Logo

Public Member Functions | Private Attributes

DDFrameGenerator Class Reference

#include <DDHtmlFormatter.h>

List of all members.

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 88 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 91 of file DDHtmlFormatter.h.

   : t_(title), n1_(n1), n2_(n2), n3_(n3), u1_(u1), u2_(u2), u3_(u3), os_(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_.

{
  DDHtmlFormatter f;
  os_ << f.header(t_);
  os_ << "<frameset cols=\"25%,*\">" << endl;
  os_ << "  <frameset rows=\"50%,*\">" << endl;
  os_ << "   <frame src=\"" << u1_ << "\" name=\"" << n1_ << "\">" << endl;
  os_ << "   <frame src=\"" << u2_ << "\" name=\"" << n2_ << "\">" << endl;
  os_ << "  </frameset>" << endl;
  os_ << " <frame src=\"" << u3_ << "\" name=\"" << n3_ << "\">" << endl;
  os_ << "</frameset>" << endl;
  os_ << f.footer() << endl;  
}

Member Data Documentation

std::string DDFrameGenerator::n1_ [private]

Definition at line 104 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::n2_ [private]

Definition at line 104 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::n3_ [private]

Definition at line 104 of file DDHtmlFormatter.h.

Referenced by doit().

std::ostream& DDFrameGenerator::os_ [private]

Definition at line 105 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::t_ [private]

Definition at line 104 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u1_ [private]

Definition at line 104 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u2_ [private]

Definition at line 104 of file DDHtmlFormatter.h.

Referenced by doit().

std::string DDFrameGenerator::u3_ [private]

Definition at line 104 of file DDHtmlFormatter.h.

Referenced by doit().