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; }
virtual bool getState() const
Get the state of this boolean element.
std::string getData() const
Get the data contained in this element, if any.
An expandable list of HTMLElement objects.
Platform and operating system specific macro definitions.
virtual void swapState() const
Swap the state of the boolean element.
void setData(const std::string &data)
Set the data contained in this element.
const HTMLElementList * getEmbedded() const
Get the HTMLElementList embedded in this element, if any.
Mix-in streamable interface.
Abstract base class for all streamable objects.
EElementType
Possible types of HTMLElements.
const HTMLAttributeList * getAttributes() const
Get the attributes associated with this element.
The namespace containing the cgicc library.
An expandable list of HTMLAttribute objects.
Class containing a list of HTMLAttribute objects.
EElementType getType() const
Get the type of this element.
Class representing an HTML element.
bool dataSpecified() const
For subclasses only.