html/link.hh

00001 /* -*- mode: c++; c-basic-offset: 4; -*- */
00002 #ifndef HTML_LINK_HH
00003 #define HTML_LINK_HH
00004 
00005 #include "html/compound.hh"
00006 #include "html/Attrib.hh"
00007 #include <memory>
00008 #include <string>
00009 
00010 namespace html {
00011   class writer;
00012 
00025   class link : public compound {
00026   public:
00030     link(void);
00031 
00038     link (const std::string& txt, const std::string& target);
00039 
00043     ~link(void);
00044 
00049     link* clone(void) const;
00050 
00053     const char* getTag(void) const;
00054 
00059     void setAddr(const std::string& addr);
00060 
00065     void setText(const std::string& txt);
00066 
00067   private:
00068   };
00069 }
00070 
00071 #endif  // HTML_LINK_HH

Generated on Sun Mar 8 19:20:48 2009 for dmt by  doxygen 1.5.4