|
libhtmlpp 1.0.0
|
Element representing an embedded <textarea> tag and its attributes/content. More...
#include <html.h>
Public Member Functions | |
| TextArea () | |
| TextArea (const TextArea &textsrc) | |
| ~TextArea () | |
| TextArea & | operator= (const Element &hel) |
| TextArea & | operator= (const Element *hel) |
| const std::vector< char > | getText () |
| void | setText (const std::string &text) |
| int | getType () const |
| void | insertChild (const Element *el)=delete |
| void | insertChild (const Element &el)=delete |
| void | appendChild (const Element *el)=delete |
| void | appendChild (const Element &el)=delete |
Public Member Functions inherited from libhtmlpp::HtmlElement | |
| HtmlElement () | |
| HtmlElement (const std::string &tag) | |
| HtmlElement (const HtmlElement &hel) | |
| HtmlElement (const HtmlElement *hel) | |
| ~HtmlElement () | |
| HtmlElement & | operator= (const HtmlElement &hel) |
| HtmlElement & | operator= (const HtmlElement *hel) |
| bool | operator== (const HtmlElement *hel) |
| bool | operator== (const HtmlElement &hel) |
| void | setAttribute (const std::string &name, const std::string &value) |
| void | setIntAttribute (const std::string &name, int value) |
| const std::string | getAtributte (const std::string &name) const |
| int | getIntAtributte (const std::string &name) const |
| void | insertChild (const Element *el) |
| void | insertChild (const Element &el) |
| void | appendChild (const Element *el) |
| void | appendChild (const Element &el) |
| void | setTagname (const std::string &name) |
| const std::string | getTagname () const |
| HtmlElement * | getElementbyID (const std::string &id) const |
| HtmlElement * | getElementbyTag (const std::string &tag) const |
| Element * | firstChild () const |
| const Attributes * | firstAttribute () const |
| void | remove (Element *el) |
Public Member Functions inherited from libhtmlpp::Element | |
| virtual | ~Element () |
| Element (const Element &el) | |
| void | insertAfter (Element *el) |
| void | insertBefore (Element *el) |
| Element & | operator= (const Element &hel) |
| Element & | operator= (const Element *hel) |
| Element * | nextElement () const |
| Element * | prevElement () const |
Static Public Member Functions | |
| static size_t | parseElement (const std::vector< char > &in, std::unique_ptr< libhtmlpp::Element > &el, size_t start, bool &termination) |
Static Public Member Functions inherited from libhtmlpp::HtmlElement | |
| static size_t | parseElement (const std::vector< char > &in, std::unique_ptr< libhtmlpp::Element > &el, size_t start, bool &termination) |
Protected Attributes | |
| std::unique_ptr< Element > | _childElement =nullptr |
| std::vector< char > | _Text |
Protected Attributes inherited from libhtmlpp::HtmlElement | |
| std::unique_ptr< Element > | _childElement =nullptr |
Protected Attributes inherited from libhtmlpp::Element | |
| std::unique_ptr< Element > | _nextElement |
| Element * | _prevElement |
Friends | |
| class | HtmlString |
| void | print (const Element &element, HtmlString &output, bool formated) |
| Serializes an element (and its subtree) into an HtmlString. | |
| void | _copy (libhtmlpp::Element *dest, const libhtmlpp::Element *src) |
Additional Inherited Members | |
Protected Member Functions inherited from libhtmlpp::HtmlElement | |
| void | _serialelize (const std::vector< char > &in) |
| Extracts tag name and attributes from a token vector into an HtmlElement. | |
Protected Member Functions inherited from libhtmlpp::Element | |
| Element () | |
Element representing an embedded <textarea> tag and its attributes/content.
|
delete |
|
delete |
| const std::vector< char > libhtmlpp::TextArea::getText | ( | ) |
|
virtual |
Reimplemented from libhtmlpp::HtmlElement.
|
delete |
|
delete |
| libhtmlpp::TextArea & libhtmlpp::TextArea::operator= | ( | const Element & | hel | ) |
| libhtmlpp::TextArea & libhtmlpp::TextArea::operator= | ( | const Element * | hel | ) |
|
static |
| void libhtmlpp::TextArea::setText | ( | const std::string & | text | ) |
|
friend |
|
friend |
|
friend |
Serializes an element (and its subtree) into an HtmlString.
| element | Root element to print. |
| output | Output buffer to append serialized HTML to. |
| formated | If true, pretty-prints the output with line breaks/indentation. |
|
protected |