#include <cgicc/HTMLElementList.h>
Public Methods | |
Constructors and Destructor | |
HTMLElementList () | |
Create an empty HTMLElementList. More... | |
HTMLElementList (const HTMLElement &head) | |
Create a new HTMLElementList, specifying the first element. More... | |
HTMLElementList (const HTMLElementList &list) | |
Copy constructor. More... | |
~HTMLElementList () | |
Destructor. More... | |
Overloaded Operators | |
HTMLElementList & | operator= (const HTMLElementList &list) |
Assignment operator. More... | |
List Management | |
Manage the elements in the list | |
HTMLElementList & | add (const HTMLElement &element) |
Add an HTMLElement to the list. More... | |
HTMLElementList & | add (HTMLElement *element) |
Add an HTMLElement to the list. More... | |
void | render (std::ostream &out) const |
Render this HTMLElementList. More... |
An HTMLElementList represents any number of HTMLElement objects. To add HTMLElement objects to the list, use the add() methods:
cgicc::HTMLElementList list; list.add(br());
Definition at line 65 of file HTMLElementList.h.
|
Create an empty HTMLElementList.
HTMLElementLists are most often created with the add() functions |
|
Create a new HTMLElementList, specifying the first element.
The first element in the list is set to
|
|
Copy constructor.
Sets the elements in this list to those of
|
|
Destructor.
Deletes this HTMLElementList object |
|
Add an HTMLElement to the list.
|
|
Add an HTMLElement to the list.
|
|
Assignment operator.
Sets the elements in this list to those of
|
|
Render this HTMLElementList.
|