#include <Style.h>
Inheritance diagram for Cgi::Style:


Public Member Functions | |
| Style (const std::string &type, const std::string &content) | |
| Element * | Copy () |
| void | SetType (const std::string &type) |
| const std::string & | GetType () |
Definition at line 10 of file Style.h.
| Cgi::Style::Style | ( | const std::string & | type, | |
| const std::string & | content | |||
| ) | [inline] |
Definition at line 13 of file Style.h.
References Cgi::Element::SetContent(), and SetType().
Referenced by Copy().
00013 : Element("style") { 00014 SetType(type); 00015 SetContent(content); 00016 }
| Element* Cgi::Style::Copy | ( | ) | [inline, virtual] |
Implements Cgi::Element.
Definition at line 18 of file Style.h.
References Style().
00018 { return new Style(*this); }
| void Cgi::Style::SetType | ( | const std::string & | type | ) | [inline] |
Definition at line 20 of file Style.h.
References Cgi::Element::SetAttribute().
Referenced by Style().
00020 { SetAttribute("type", type); }
| const std::string& Cgi::Style::GetType | ( | ) | [inline] |
Definition at line 21 of file Style.h.
References Cgi::Element::GetAttribute().
00021 { return GetAttribute("type"); }
1.3.7