Google
Web alhem.net

Cgi::Style Class Reference

#include <Style.h>

Inheritance diagram for Cgi::Style:

Inheritance graph
Collaboration diagram for Cgi::Style:

Collaboration graph
List of all members.

Public Member Functions

 Style (const std::string &type, const std::string &content)
ElementCopy ()
void SetType (const std::string &type)
const std::string & GetType ()

Detailed Description

Definition at line 10 of file Style.h.


Constructor & Destructor Documentation

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         }


Member Function Documentation

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"); }


The documentation for this class was generated from the following file:
Generated for cgi++ by doxygen 1.3.7

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