00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _HTMLDOCTYPE_H_
00025 #define _HTMLDOCTYPE_H_ 1
00026
00027 #ifdef __GNUG__
00028 # pragma interface
00029 #endif
00030
00036 #include <string>
00037
00038 #include "cgicc/MStreamable.h"
00039
00040 namespace cgicc {
00041
00042
00043
00044
00045
00056 class CGICC_API HTMLDoctype : public MStreamable
00057 {
00058 public:
00059
00061 enum EDocumentType {
00063 eStrict,
00065 eTransitional,
00067 eFrames
00068 };
00069
00070
00075 HTMLDoctype(EDocumentType type = eStrict);
00076
00081 virtual ~HTMLDoctype();
00082
00083 virtual void
00084 render(std::ostream& out) const;
00085
00086 private:
00087 EDocumentType fType;
00088 };
00089
00090 }
00091
00092 #endif