MCPcopy Create free account
hub / github.com/Tracktion/choc / writeToStream

Method writeToStream

choc/text/choc_HTML.h:166–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164
165template <typename Output>
166void HTMLElement::writeToStream (Output& out, bool includeHeader) const
167{
168 if (includeHeader)
169 out << "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">" << std::endl;
170
171 print (out, 0, { true, false });
172}
173
174inline HTMLElement& HTMLElement::addRawContent (std::string text)
175{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected