#include <html.h>
Definition at line 108 of file html.h.
◆ HtmlElement() [1/4]
| libhtmlpp::HtmlElement::HtmlElement |
( |
| ) |
|
◆ HtmlElement() [2/4]
| libhtmlpp::HtmlElement::HtmlElement |
( |
const std::string & |
tag | ) |
|
◆ HtmlElement() [3/4]
| libhtmlpp::HtmlElement::HtmlElement |
( |
const HtmlElement & |
hel | ) |
|
◆ HtmlElement() [4/4]
| libhtmlpp::HtmlElement::HtmlElement |
( |
const HtmlElement * |
hel | ) |
|
◆ ~HtmlElement()
| libhtmlpp::HtmlElement::~HtmlElement |
( |
| ) |
|
◆ _serialelize()
| void libhtmlpp::HtmlElement::_serialelize |
( |
const std::vector< char > & |
in | ) |
|
|
protected |
Extracts tag name and attributes from a token vector into an HtmlElement.
- Parameters
-
| in | Token buffer containing a single open tag. |
| out | Destination HtmlElement to populate. |
- Exceptions
-
Definition at line 903 of file html.cpp.
◆ appendChild() [1/2]
| void libhtmlpp::HtmlElement::appendChild |
( |
const Element & |
el | ) |
|
◆ appendChild() [2/2]
| void libhtmlpp::HtmlElement::appendChild |
( |
const Element * |
el | ) |
|
◆ firstAttribute()
◆ firstChild()
◆ getAtributte()
| const std::string libhtmlpp::HtmlElement::getAtributte |
( |
const std::string & |
name | ) |
const |
◆ getElementbyID()
◆ getElementbyTag()
◆ getIntAtributte()
| int libhtmlpp::HtmlElement::getIntAtributte |
( |
const std::string & |
name | ) |
const |
◆ getTagname()
| const std::string libhtmlpp::HtmlElement::getTagname |
( |
| ) |
const |
◆ getType()
| int libhtmlpp::HtmlElement::getType |
( |
| ) |
const |
|
virtual |
◆ insertChild() [1/2]
| void libhtmlpp::HtmlElement::insertChild |
( |
const Element & |
el | ) |
|
◆ insertChild() [2/2]
| void libhtmlpp::HtmlElement::insertChild |
( |
const Element * |
el | ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==() [1/2]
| bool libhtmlpp::HtmlElement::operator== |
( |
const HtmlElement & |
hel | ) |
|
◆ operator==() [2/2]
| bool libhtmlpp::HtmlElement::operator== |
( |
const HtmlElement * |
hel | ) |
|
◆ parseElement()
| size_t libhtmlpp::HtmlElement::parseElement |
( |
const std::vector< char > & |
in, |
|
|
std::unique_ptr< libhtmlpp::Element > & |
el, |
|
|
size_t |
start, |
|
|
bool & |
termination |
|
) |
| |
|
static |
◆ remove()
◆ setAttribute()
| void libhtmlpp::HtmlElement::setAttribute |
( |
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
◆ setIntAttribute()
| void libhtmlpp::HtmlElement::setIntAttribute |
( |
const std::string & |
name, |
|
|
int |
value |
|
) |
| |
◆ setTagname()
| void libhtmlpp::HtmlElement::setTagname |
( |
const std::string & |
name | ) |
|
◆ _copy
◆ HtmlString
◆ HtmlTable
◆ print
Serializes an element (and its subtree) into an HtmlString.
- Parameters
-
| element | Root element to print. |
| output | Output buffer to append serialized HTML to. |
| formated | If true, pretty-prints the output with line breaks/indentation. |
◆ _childElement
| std::unique_ptr<Element> libhtmlpp::HtmlElement::_childElement =nullptr |
|
protected |
The documentation for this class was generated from the following files:
- /build/jan.koester@intranet.tuxist.de/debian/libhtmlpp/src/html.h
- /build/jan.koester@intranet.tuxist.de/debian/libhtmlpp/src/html.cpp