Go to the documentation of this file.
24 #ifndef _HTMLBOOLEANELEMENT_H_
25 #define _HTMLBOOLEANELEMENT_H_ 1
149 virtual inline const char*
151 {
return Tag::getName(); }
165 { sState = ! sState; }
HTMLBooleanElement(const std::string &text, const HTMLAttributeList &attributes)
Create a new element, specifying the enclosed text and HTMLAttribute objects.
HTMLBooleanElement(const std::string &text)
Create a new element, specifying the enclosed text.
virtual void swapState() const
Swap the state of this boolean element.
HTMLBooleanElement()
Create a new empty boolean element.
static void reset()
Reset the state of this boolean element to closed.
Class representing an HTML element.
virtual const char * getName() const
Get the name of this element. For example, "strong".
An expandable list of HTMLAttribute objects.
virtual HTMLElement * clone() const
Clone this element.
HTMLBooleanElement(const HTMLElement &embedded)
Create a new element, specifying an embedded HTMLElement.
virtual ~HTMLBooleanElement()
Destructor.
Class dealing with HTML elements.
HTMLBooleanElement(const HTMLAttributeList &attributes)
Create a new element, specifying the HTMLAttribute objects.
Template for concrete boolean HTMLElement subclasses.
virtual bool getState() const
Get the state of this boolean element.
The namespace containing the cgicc library.
HTMLBooleanElement(const HTMLAttributeList &attributes, const HTMLElement &embed)
Create a new element, specifying the HTMLAttributes and embedded HTMLElement.
GNU cgicc - A C++ class library for
writing CGI applications
Copyright © 1996 - 2004
Stephen F. Booth
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front Cover Texts, and with no Back-Cover
Texts.
Documentation generated Mon Apr 25 2022 14:03:04 for cgicc by
doxygen 1.8.17