Google
Web alhem.net

Style.h

Go to the documentation of this file.
00001 #ifndef _CGI_STYLE_H
00002 #define _CGI_STYLE_H
00003 
00004 #include "Element.h"
00005 
00006 namespace Cgi
00007 {
00008 
00009 
00010 class Style : public Element
00011 {
00012 public:
00013         Style(const std::string& type, const std::string& content) : Element("style") {
00014                 SetType(type);
00015                 SetContent(content);
00016         }
00017 
00018         Element *Copy() { return new Style(*this); }
00019 
00020         void SetType(const std::string& type) { SetAttribute("type", type); }
00021         const std::string& GetType() { return GetAttribute("type"); }
00022 
00023 };
00024 
00025 
00026 } // namespace Cgi
00027 
00028 
00029 #endif // _CGI_STYLE_H

Generated for cgi++ by doxygen 1.3.7

Page, code, and content Copyright (C) 2004 by Anders Hedström