Public Types | List of all members
cgicc::XHTMLDoctype Class Reference

Class that abstracts a XHTML Doc Type. More...

#include <cgicc/XHTMLDoctype.h>

Inheritance diagram for cgicc::XHTMLDoctype:
cgicc::MStreamable

Public Types

enum  EDocumentType { eStrict , eTransitional , eFrames , eHTML5 }
 

Constructor and Destructor

 XHTMLDoctype (EDocumentType type=eStrict)
 Constructor.
 
virtual ~XHTMLDoctype ()
 Destructor.
 
virtual void render (std::ostream &out) const
 Write this object to a stream.

 

Additional Inherited Members

- Public Member Functions inherited from cgicc::MStreamable
 MStreamable ()
 Empty constructor.
 
virtual ~MStreamable ()
 Empty destructor.
 
virtual void render (std::ostream &out) const =0
 Write this object to a stream.

 

Detailed Description

Class that abstracts a XHTML Doc Type.

This class add the XHTML Doc Type feature

Definition at line 44 of file XHTMLDoctype.h.

Member Enumeration Documentation

◆ EDocumentType

enum cgicc::XHTMLDoctype::EDocumentType

Definition at line 46 of file XHTMLDoctype.h.

Constructor & Destructor Documentation

◆ XHTMLDoctype()

cgicc::XHTMLDoctype::XHTMLDoctype ( EDocumentType  type = eStrict)

Constructor.

Create a new XHTMLDoctype.h object

Parameters
inputThe Document Type

◆ ~XHTMLDoctype()

virtual cgicc::XHTMLDoctype::~XHTMLDoctype ( )
virtual

Destructor.

Delete this XHTMLDoctype.h object

Member Function Documentation

◆ render()

virtual void cgicc::XHTMLDoctype::render ( std::ostream &  out) const
virtual

Write this object to a stream.

Subclasses must implement this function.

Parameters
outThe ostream to which to write.

Implements 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 - 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 Fri Mar 1 2024 08:39:43 for cgicc by doxygen 1.9.6