Go to the documentation of this file. 1 #ifndef DETECTOR_DESCRIPTION_REGRESSION_TEST_DD_HTML_FORMATTER_H
2 #define DETECTOR_DESCRIPTION_REGRESSION_TEST_DD_HTML_FORMATTER_H
19 typedef std::map<std::string, std::set<std::string> >
ns_type;
29 os_ <<
"<br>" << std::endl;
34 os_ <<
"<p>" << std::endl <<
content << std::endl <<
"</p>" << std::endl;
40 os_ <<
"<ul>" << std::endl;
45 os_ <<
"<li>" <<
content <<
"</li>" << std::endl;
50 os_ <<
"</ul>" << std::endl;
56 os_ <<
"<h1>" <<
content <<
"</h1>" << std::endl;
61 os_ <<
"<h2>" <<
content <<
"</h2>" << std::endl;
66 os_ <<
"<h3>" <<
content <<
"</h3>" << std::endl;
75 os_ <<
"<table border=\"" << border <<
"\">" << std::endl;
80 os_ <<
"</table>" << std::endl;
85 os_ <<
" <tr>" << std::endl;
90 os_ <<
" </tr>" << std::endl;
95 os_ <<
" <td>" <<
content << std::endl <<
" </td>" << std::endl;
104 mutable std::stringstream
os_;
DDHtmlRoDetails(const std::string &cat, const std::string &txt)
bool details(std::ostream &os, const DDName &) override
DDName is used to identify DDD entities uniquely.
DDHtmlMaDetails(const std::string &cat, const std::string &txt)
ns_type & names() override
ns_type & names() override
ns_type & names() override
DDNsGenerator(std::ostream &os, const std::string &title, const std::string &target, const ns_type &n, const std::string &text="")
virtual ns_type & names()=0
DDHtmlSoDetails(const std::string &cat, const std::string &txt)
std::map< std::string, std::set< std::string > > ns_type
const std::string & category()
bool details(std::ostream &os, const DDName &) override
const std::string & text()
DDHtmlSpDetails(const std::string &cat, const std::string &txt)
bool details(std::ostream &os, const DDName &) override
DDHtmlDetails(const std::string &cat, const std::string &txt)
bool details(std::ostream &os, const DDName &) override
virtual bool details(std::ostream &os, const DDName &)=0
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")
bool details(std::ostream &os, const DDName &) override
ns_type & names() override
ns_type & names() override
DDHtmlLpDetails(const std::string &cat, const std::string &txt)