Google
Web alhem.net

Title.h

Go to the documentation of this file.
00001 #ifndef _CGI_TITLE_H
00002 #define _CGI_TITLE_H
00003 
00004 #include "Element.h"
00005 
00006 namespace Cgi
00007 {
00008 
00009 
00010 class Title : public Element
00011 {
00012 public:
00013         Title(const std::string& title) : Element("title") {
00014                 SetContent( title );
00015         }
00016 
00017         Element *Copy() { return new Title( *this ); }
00018 
00019         void SetTitle(const std::string& title) { SetContent(title); }
00020         const std::string& GetTitle() { return GetContent(); }
00021 
00022 };
00023 
00024 
00025 } // namespace Cgi
00026 
00027 
00028 #endif // _CGI_TITLE_H

Generated for cgi++ by doxygen 1.3.7

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