#include <iostream>
#include <string>
#include <sstream>
#include <map>
#include <set>
#include <vector>
#include "DetectorDescription/RegressionTest/interface/DDErrorDetection.h"
Go to the source code of this file.
◆ dd_html_frameset()
void dd_html_frameset |
( |
std::ostream & |
os | ) |
|
◆ dd_html_menu()
void dd_html_menu |
( |
std::ostream & |
os | ) |
|
◆ dd_html_menu_frameset()
void dd_html_menu_frameset |
( |
std::ostream & |
os | ) |
|
◆ dd_html_ro()
◆ dd_to_html()
Definition at line 282 of file DDHtmlFormatter.cc.
References validateAlignments::category, DDHtmlDetails::category(), gather_cfg::cout, DDHtmlDetails::details(), DeadROC_duringRun::dir, f, alignmentValidation::fname, eostools::mkdir(), names, DDHtmlDetails::names(), mps_fire::result, DDHtmlDetails::text(), and submitPVValidationJobs::text.
283 cout <<
"---> dd_to_html() called with category=" << dtls.category() << endl;
284 const string&
category = dtls.category();
285 const string&
text = dtls.text();
291 string ns_fname =
category +
"/ns.html";
292 ofstream ns_file(ns_fname.c_str());
298 ns_type::const_iterator it(
names.begin()), ed(
names.end());
299 for (; it != ed; ++it) {
300 const string& ns = it->first;
308 ofstream list_file(
fname.c_str());
310 list_file <<
f.header(
text) <<
f.p(
"Instances in Namespace <b>" + ns +
"</b><br>");
313 set<string>::const_iterator nit(it->second.begin()), ned(it->second.end());
314 for (; nit != ned; ++nit) {
315 const string& nm = *nit;
316 string result_s = nm;
319 string d_fname =
category +
"/" + ns +
"/" + nm +
".html";
320 ofstream detail_file(d_fname.c_str());
322 bool result = dtls.details(detail_file, an);
325 result_s =
">> ERROR: " + nm +
" <<";
326 list_file <<
f.li(
f.lnk(nm +
".html", result_s,
"_details"));
328 list_file <<
f.ulEnd() <<
f.footer();
DDName is used to identify DDD entities uniquely.
const std::string names[nVars_]
std::map< std::string, std::set< std::string > > ns_type
◆ operator<<()