#include <cgicc/HTMLDoctype.h>

Public Types | |
| enum | EDocumentType { eStrict, eTransitional, eFrames } |
Public Member Functions | |
| HTMLDoctype (EDocumentType type=eStrict) | |
| Constructor. | |
| virtual | ~HTMLDoctype () |
| Destructor. | |
| virtual void | render (std::ostream &out) const |
| Write this object to a stream. | |
To use this class, simply write an object of this type to an ostream:
out << cgicc::HTMLDoctype();
http://www.w3.org/MarkUp/ and http://www.w3.org/TR/REC-html40/
Definition at line 56 of file HTMLDoctype.h.
The DTD used by this document.
| eStrict | The HTML 4.0 strict DTD (the default) |
| eTransitional | The HTML 4.0 Transitional DTD |
| eFrames | The HTML 4.0 Frameset DTD |
Definition at line 61 of file HTMLDoctype.h.
| cgicc::HTMLDoctype::HTMLDoctype | ( | EDocumentType | type = eStrict |
) |
Constructor.
| type | The version of the HTML 4.0 DTD used by this document. |
| virtual void cgicc::HTMLDoctype::render | ( | std::ostream & | out | ) | const [virtual] |
Write this object to a stream.
Subclasses must implement this function.
| out | The ostream to which to write. |
Implements cgicc::MStreamable.