Go to the documentation of this file.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 XXHTMLDoctype_H
00025 #define XXHTMLDoctype_H
00026
00033 #include <string>
00034
00035 #include <cgicc/MStreamable.h>
00036
00037 namespace cgicc {
00038
00044 class CGICC_API XHTMLDoctype : public MStreamable {
00045 public:
00046 enum EDocumentType {
00047 eStrict,
00048 eTransitional,
00049 eFrames
00050 };
00051
00052
00055
00062 XHTMLDoctype(EDocumentType type = eStrict);
00068 virtual ~XHTMLDoctype();
00069
00071
00072 virtual void render(std::ostream& out) const;
00073
00074 private:
00075 EDocumentType fType;
00076 };
00077 }
00078
00080 #define xmlnsXHTML() set("xmlns", "http://www.w3.org/1999/xhtml")
00081
00082 #endif