An HTML element, can contain children (either text or other elements), as well as storing a list of attributes.
More...
#include <MiniHTML.hpp>
|
|
| HTMLElement (const std::string &tag) |
|
void | append_attribute (const std::string &name, const std::string &value) |
|
void | append_child (HTMLNode *node) |
|
HTMLElement * | append_element (const std::string &type) |
|
HTMLTextNode * | append_text (const std::string &text) |
| virtual std::string | print (const std::string &indent="") |
An HTML element, can contain children (either text or other elements), as well as storing a list of attributes.
Definition at line 71 of file MiniHTML.hpp.
◆ print()
| virtual std::string nom::HTMLElement::print |
( |
const std::string & | indent = "" | ) |
|
|
virtual |
◆ attributes_
| std::list<std::pair<std::string, std::string> > nom::HTMLElement::attributes_ |
|
private |
◆ children_
| std::list<HTMLNode*> nom::HTMLElement::children_ |
|
private |
◆ tag_name_
| std::string nom::HTMLElement::tag_name_ |
|
private |
The documentation for this class was generated from the following file:
- /home/jeff/Projects/nomlib.git/include/nomlib/serializers/MiniHTML.hpp