|
static drain::TreeHTML & | initHtml (drain::TreeHTML &html, const std::string &key="") |
| Initialize a HTML object with "head" (including "title", "style") and "body" elements. More...
|
|
static drain::TreeHTML & | getFirstElem (drain::TreeHTML &elem, drain::BaseHTML::tag_t tagType) |
|
static drain::TreeHTML & | addChild (drain::TreeHTML &elem, drain::BaseHTML::tag_t tagType, const std::string &key) |
| Add element of given type. The path key is generated automatically, unless given.
|
|
template<class T > |
static drain::TreeHTML & | appendElem (drain::TreeHTML &elem, drain::BaseHTML::tag_t tagType, const T &arg) |
|
template<class T , class ... TT> |
static drain::TreeHTML & | appendElem (drain::TreeHTML &elem, drain::BaseHTML::tag_t tagType, const T &arg, const TT &...args) |
|
static drain::TreeHTML & | createTable (drain::TreeHTML &body, const std::list< std::string > &columnTitles) |
|
template<class T > |
static drain::TreeHTML & | fillTableRow (drain::TreeHTML &table, drain::TreeHTML &tr, const T &value) |
| Creates a new table row (TD) using first row as a template. More...
|
|
static drain::TreeHTML & | addTableRow (drain::TreeHTML &table, const std::string value="") |
|
◆ fillTableRow()
Creates a new table row (TD) using first row as a template.
- Parameters
-
T | - HTML object, string or TAG type. |
◆ initHtml()
Initialize a HTML object with "head" (including "title", "style") and "body" elements.
If a title is given, it will be also assigned as H1 element.
The documentation for this class was generated from the following files:
- src/drain/util/TreeHTML.h
- src/drain/util/TreeHTML.cpp