24 #ifndef _HTMLBOOLEANELEMENT_H_ 25 #define _HTMLBOOLEANELEMENT_H_ 1 149 virtual inline const char*
151 {
return Tag::getName(); }
165 { sState = ! sState; }
virtual bool getState() const
Get the state of this boolean element.
HTMLBooleanElement()
Create a new empty boolean element.
HTMLBooleanElement(const HTMLElement &embedded)
Create a new element, specifying an embedded HTMLElement.
virtual ~HTMLBooleanElement()
Destructor.
virtual HTMLElement * clone() const
Clone this element.
HTMLBooleanElement(const std::string &text, const HTMLAttributeList &attributes)
Create a new element, specifying the enclosed text and HTMLAttribute objects.
Template for concrete boolean HTMLElement subclasses.
HTMLBooleanElement(const std::string &text)
Create a new element, specifying the enclosed text.
HTMLBooleanElement(const HTMLAttributeList &attributes, const HTMLElement &embed)
Create a new element, specifying the HTMLAttributes and embedded HTMLElement.
virtual void swapState() const
Swap the state of this boolean element.
HTMLBooleanElement(const HTMLAttributeList &attributes)
Create a new element, specifying the HTMLAttribute objects.
virtual const char * getName() const
Get the name of this element. For example, "strong".
Class dealing with HTML elements.
The namespace containing the cgicc library.
An expandable list of HTMLAttribute objects.
static void reset()
Reset the state of this boolean element to closed.
Class representing an HTML element.