1 #ifndef DDHtmlFormatter_h
2 #define DDHtmlFormatter_h
23 typedef std::map<std::string,std::set<std::string> >
ns_type;
32 DDHtmlFormatter p(
const std::string & content) {
pre();
os_ <<
"<p>" << std::endl << content << std::endl <<
"</p>" << std::endl;
return *
this; }
43 std::string
lnk(
const std::string & url,
const std::string &
text,
const std::string &
target=
"_self");
49 DDHtmlFormatter td(
const std::string & content) {
pre();
os_ <<
" <td>" << content << std::endl <<
" </td>" << std::endl;
return *
this;}
56 mutable std::stringstream
os_;
73 const std::string &
title,
74 const std::string &
target,
76 const std::string &
text=
"")
92 const std::string &
title,
93 const std::string & n1 =
"_ns",
94 const std::string & n2 =
"_list",
95 const std::string & n3 =
"_details",
96 const std::string & u1 =
"ns.html",
97 const std::string & u2 =
"list.html",
98 const std::string & u3 =
"details.html")
114 DDHtmlDetails(
const std::string & cat,
const std::string & txt);
bool details(std::ostream &os, const DDName &)
DDHtmlSpDetails(const std::string &cat, const std::string &txt)
bool details(std::ostream &os, const DDName &)
DDHtmlSoDetails(const std::string &cat, const std::string &txt)
virtual bool details(std::ostream &os, const DDName &)=0
DDName is used to identify DDD entities uniquely.
DDHtmlRoDetails(const std::string &cat, const std::string &txt)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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")
DDHtmlMaDetails(const std::string &cat, const std::string &txt)
bool details(std::ostream &os, const DDName &)
bool details(std::ostream &os, const DDName &)
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
DDHtmlDetails(const std::string &cat, const std::string &txt)
const std::string & text()
const std::string & category()
bool details(std::ostream &os, const DDName &)
DDHtmlLpDetails(const std::string &cat, const std::string &txt)
std::map< std::string, std::set< std::string > > ns_type