HtmlBuilder Class

#include <generator.h>

Public Functions

HtmlBuilder(std::ofstream & out)
void template_line(const std::string & text)
void write(const std::string & text)
void begin_tag(const std::string & tag, const std::string & attributes = "")
void end_tag(const std::string & tag)
void tag(const std::string & tag_name, const std::string & content = "", const std::string & attributes = "")
void doctype()
void include(const std::string & text)
void comment(const std::string & text)
void raw(const std::string & html)
void script(const std::string & src)

Detailed Description

No description available.

Member Function Documentation

HtmlBuilder(std::ofstream & out)

No description available.

void template_line(const std::string & text)

Page text is Inja-escaped (generated pages are rendered by the SiteEngine); this writes a line of intended Inja syntax, like {{ build.stamp }}, verbatim.

void write(const std::string & text)

No description available.

void begin_tag(const std::string & tag, const std::string & attributes = "")

No description available.

void end_tag(const std::string & tag)

No description available.

void tag(const std::string & tag_name, const std::string & content = "", const std::string & attributes = "")

No description available.

void doctype()

No description available.

void include(const std::string & text)

No description available.

void comment(const std::string & text)

No description available.

void raw(const std::string & html)

No description available.

void script(const std::string & src)

No description available.

Appearance
Theme
—