The header file containing HTML output classes. More...
#include "CgiDefs.h"
#include "HTMLAtomicElement.h"
#include "HTMLBooleanElement.h"
#include "HTMLDoctype.h"
Go to the source code of this file.
Classes | |
class | cgicc::nullTag |
class | cgicc::comment |
An HTML comment. More... | |
Namespaces | |
namespace | cgicc |
The namespace containing the cgicc library. | |
Macros | |
#define | TAG(name, tag) |
Create an HTML element rendering class. | |
#define | ATOMIC_ELEMENT(name, tag) TAG(name, tag); typedef HTMLAtomicElement<name##Tag> name |
Create an atomic HTML element. | |
#define | BOOLEAN_ELEMENT(name, tag) TAG(name, tag); typedef HTMLBooleanElement<name##Tag> name |
An HTML element maintaining an internal on/off state. | |
The header file containing HTML output classes.
One class is defined for each element in the HTML 4.0 standard.
Definition in file HTMLClasses.h.
#define ATOMIC_ELEMENT | ( | name, | |
tag | |||
) | TAG(name, tag); typedef HTMLAtomicElement<name##Tag> name |
Create an atomic HTML element.
Atomic HTML elements maintain no internal on/off state. For example, br
and meta
are atomic elements.
name | The name of the class to define |
tag | The text to output when this tag is rendered |
Definition at line 60 of file HTMLClasses.h.
#define BOOLEAN_ELEMENT | ( | name, | |
tag | |||
) | TAG(name, tag); typedef HTMLBooleanElement<name##Tag> name |
An HTML element maintaining an internal on/off state.
Boolean HTML elements maintain an internal state, and the output rendered depends on the current state. For example, h1
and title
are boolean elements.
name | The name of the class to define |
tag | The text to output when this tag is rendered |
Definition at line 72 of file HTMLClasses.h.
#define TAG | ( | name, | |
tag | |||
) |
Create an HTML element rendering class.
name | The name of the class to define |
tag | The text to output when this tag is rendered |
Definition at line 48 of file HTMLClasses.h.