CMS 3D CMS Logo

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

#include <DDHtmlFormatter.h>

Public Member Functions

 DDNsGenerator (std::ostream &os, const std::string &title, const std::string &target, const ns_type &n, const std::string &text="")
 
void doit ()
 

Private Attributes

const ns_typen_
 
std::ostream & os_
 
std::string target_
 
std::string text_
 
std::string title_
 

Detailed Description

Generates HTML for DD-namespaces

Definition at line 112 of file DDHtmlFormatter.h.

Constructor & Destructor Documentation

◆ DDNsGenerator()

DDNsGenerator::DDNsGenerator ( std::ostream &  os,
const std::string &  title,
const std::string &  target,
const ns_type n,
const std::string &  text = "" 
)
inline

Member Function Documentation

◆ doit()

void DDNsGenerator::doit ( )

Definition at line 71 of file DDHtmlFormatter.cc.

References f, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.

71  {
73  os_ << f.header(title_, "../style.css");
74  os_ << f.h2(title_) << f.p(text_); // << endl;
75  ns_type::const_iterator it = n_.begin();
76  ns_type::const_iterator ed = n_.end();
77  os_ << f.ul();
78  for (; it != ed; ++it) {
79  os_ << f.li(f.lnk(it->first + "/list.html", it->first, target_));
80  }
81  os_ << f.ulEnd() << endl;
82  os_ << f.footer() << endl;
83 }
std::ostream & os_
std::string title_
double f[11][100]
const ns_type & n_
std::string target_
std::string text_

Member Data Documentation

◆ n_

const ns_type& DDNsGenerator::n_
private

Definition at line 126 of file DDHtmlFormatter.h.

◆ os_

std::ostream& DDNsGenerator::os_
private

Definition at line 124 of file DDHtmlFormatter.h.

◆ target_

std::string DDNsGenerator::target_
private

Definition at line 125 of file DDHtmlFormatter.h.

◆ text_

std::string DDNsGenerator::text_
private

Definition at line 125 of file DDHtmlFormatter.h.

◆ title_

std::string DDNsGenerator::title_
private

Definition at line 125 of file DDHtmlFormatter.h.