Go to the documentation of this file.
24 #ifndef _HTMLELEMENT_H_
25 #define _HTMLELEMENT_H_ 1
45 class HTMLElementList;
123 {
return ! operator==(element); }
140 operator= (
const HTMLElement& 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; }
373 HTMLAttributeList *fAttributes;
374 HTMLElementList *fEmbedded;
Class containing a list of HTMLAttribute objects.
EElementType getType() const
Get the type of this element.
virtual bool getState() const
Get the state of this boolean element.
void setData(const std::string &data)
Set the data contained in this element.
Class representing an HTML element.
Mix-in streamable interface.
HTMLAttributeList set(const std::string &name)
Create a new HTMLAttributeList, and set an HTMLAttribute.
Platform and operating system specific macro definitions.
An expandable list of HTMLElement objects.
An expandable list of HTMLAttribute objects.
std::string getData() const
Get the data contained in this element, if any.
EElementType
Possible types of HTMLElements.
Abstract base class for all streamable objects.
virtual void swapState() const
Swap the state of the boolean element.
The namespace containing the cgicc library.
const HTMLAttributeList * getAttributes() const
Get the attributes associated with this element.
const HTMLElementList * getEmbedded() const
Get the HTMLElementList embedded in this element, if any.
bool dataSpecified() const
For subclasses only.
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 Tue Mar 24 2020 14:05:44 for cgicc by
doxygen 1.8.17