Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

cgicc::HTMLDoctype Class Reference

Specifies the DTD of the HTML 4 document. More...

#include <cgicc/HTMLDoctype.h>

Inheritance diagram for cgicc::HTMLDoctype::

cgicc::MStreamable List of all members.

Public Types

enum  EDocumentType { eStrict, eTransitional, eFrames }

Public Methods

 HTMLDoctype (EDocumentType type=eStrict)
 Constructor. More...

virtual ~HTMLDoctype ()
 Destructor. More...

virtual void render (std::ostream &out) const
 Write this object to a stream. More...

Detailed Description

Specifies the DTD of the HTML 4 document.

To use this class, simply write an object of this type to an ostream:

 out << cgicc::HTMLDoctype();
For more information, see and

Definition at line 54 of file HTMLDoctype.h.

Member Enumeration Documentation

enum cgicc::HTMLDoctype::EDocumentType

The DTD used by this document.

Enumeration values:
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 59 of file HTMLDoctype.h.

Constructor & Destructor Documentation

cgicc::HTMLDoctype::HTMLDoctype EDocumentType    type = eStrict


type  The version of the HTML 4.0 DTD used by this document.

virtual cgicc::HTMLDoctype::~HTMLDoctype   [virtual]


Member Function Documentation

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.

Reimplemented from cgicc::MStreamable.

The documentation for this class was generated from the following file:
GNU cgicc - A C++ class library for writing CGI applications
Copyright © 1996 - 2002 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 Sun Mar 17 16:40:58 2002 for cgicc by doxygen