libhtmlpp 1.0.0
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
libhtmlpp::HtmlElement::Attributes Struct Reference

#include <html.h>

Public Member Functions

 Attributes ()
 
 ~Attributes ()
 
const std::string getKey () const
 
const std::string getValue () const
 
AttributesnextAttribute () const
 

Friends

class HtmlElement
 
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)
 

Detailed Description

Definition at line 143 of file html.h.

Constructor & Destructor Documentation

◆ Attributes()

libhtmlpp::HtmlElement::Attributes::Attributes ( )

Definition at line 2506 of file html.cpp.

◆ ~Attributes()

libhtmlpp::HtmlElement::Attributes::~Attributes ( )

Definition at line 2510 of file html.cpp.

Member Function Documentation

◆ getKey()

const std::string libhtmlpp::HtmlElement::Attributes::getKey ( ) const

Definition at line 2423 of file html.cpp.

◆ getValue()

const std::string libhtmlpp::HtmlElement::Attributes::getValue ( ) const

Definition at line 2427 of file html.cpp.

◆ nextAttribute()

libhtmlpp::HtmlElement::Attributes * libhtmlpp::HtmlElement::Attributes::nextAttribute ( ) const

Definition at line 2431 of file html.cpp.

Friends And Related Symbol Documentation

◆ _copy

void _copy ( libhtmlpp::Element dest,
const libhtmlpp::Element src 
)
friend

Definition at line 1056 of file html.cpp.

◆ HtmlElement

friend class HtmlElement
friend

Definition at line 156 of file html.h.

◆ print

void print ( const Element element,
HtmlString output,
bool  formated 
)
friend

Serializes an element (and its subtree) into an HtmlString.

Parameters
elementRoot element to print.
outputOutput buffer to append serialized HTML to.
formatedIf true, pretty-prints the output with line breaks/indentation.

The documentation for this struct was generated from the following files: