#include <cgicc/HTMLAttributeList.h>
Public Member Functions | |
Constructors and Destructor | |
HTMLAttributeList () | |
Create an empty HTMLAttributeList. | |
HTMLAttributeList (const HTMLAttribute &head) | |
Create a new HTMLAttributeList, specifying the first element. | |
HTMLAttributeList (const HTMLAttributeList &list) | |
Copy constructor. | |
~HTMLAttributeList () | |
Destructor. | |
Overloaded Operators | |
HTMLAttributeList & | operator= (const HTMLAttributeList &list) |
Assign one HTMLAttributeList to another. | |
List Management | |
Add attributes to the list | |
HTMLAttributeList & | set (const std::string &name) |
Add an atomic HTMLAttribute to this list. | |
HTMLAttributeList & | set (const std::string &name, const std::string &value) |
Add a HTMLAttribute to this list. | |
Utility Methods | |
void | render (std::ostream &out) const |
Render this HTMLAttributeList to an ostream. |
An HTMLAttributeList represents any number of HTMLAttribute objects which may be embedded in an HTMLElement. To add HTMLAttribute objects to an HTMLAttributeList, use the set() methods or functions. For example,
generates an HTMLAttributeList with two elements.
Definition at line 67 of file HTMLAttributeList.h.
|
Create an empty HTMLAttributeList. HTMLAttributeLists are most often created with the set functions |
|
Create a new HTMLAttributeList, specifying the first element.
The first attribute in the list is set to
|
|
Copy constructor.
Sets the elements in this list to those in
|
|
Destructor. Delete this HTMLAttributeList object |
|
Assign one HTMLAttributeList to another.
Sets the elements in this list to those in
|
|
Render this HTMLAttributeList to an ostream. This is used for output
|
|
Add a HTMLAttribute to this list. For a list of possible attributes see http://www.w3.org/TR/REC-html40/
|
|
Add an atomic HTMLAttribute to this list.
|