24 #ifndef _HTMLELEMENT_H_ 25 #define _HTMLELEMENT_H_ 1 45 class HTMLElementList;
123 {
return ! operator==(element); }
224 {
return fEmbedded; }
272 {
return fAttributes; }
292 set(
const std::string& name);
303 set(
const std::string& name,
304 const std::string& value);
341 render(std::ostream& out)
const;
357 const std::string *data,
368 {
return fDataSpecified; }
EElementType getType() const
Get the type of this element.
const HTMLAttributeList * getAttributes() const
Get the attributes associated with this element.
virtual bool getState() const
Get the state of this boolean element.
An expandable list of HTMLElement objects.
Platform and operating system specific macro definitions.
std::string getData() const
Get the data contained in this element, if any.
void setData(const std::string &data)
Set the data contained in this element.
Mix-in streamable interface.
virtual void swapState() const
Swap the state of the boolean element.
const HTMLElementList * getEmbedded() const
Get the HTMLElementList embedded in this element, if any.
Abstract base class for all streamable objects.
EElementType
Possible types of HTMLElements.
The namespace containing the cgicc library.
An expandable list of HTMLAttribute objects.
Class containing a list of HTMLAttribute objects.
Class representing an HTML element.
bool dataSpecified() const
For subclasses only.