freedaisy::Link Class Reference

Link node class. More...

#include <link.h>

Inheritance diagram for freedaisy::Link:

[legend]
List of all members.

Public Member Functions

 Link ()
 Create a Link class.
 Link (xmlNodePtr src)
 Create a Link class from an xmlNodePtr.
 Link (XMLNode src)
 Create a Link class from an XMLNode.
Href getHref ()
 Get the href part of the Link.
void setHref (std::string newhref)
 Set the href part of the Link.

Detailed Description

Link node class.

Definition at line 11 of file link.h.


Member Function Documentation

Href freedaisy::Link::getHref  ) 
 

Get the href part of the Link.

Example for a Link object which represents hi:

      link.getHref(); // Returns test.html

Definition at line 6 of file link.cpp.

References freedaisy::XMLNode::getAttr().

Referenced by freedaisy::Discinfo::delLink().

void freedaisy::Link::setHref std::string  newhref  ) 
 

Set the href part of the Link.

Parameters:
newhref New href of the Link

Definition at line 12 of file link.cpp.

References freedaisy::XMLNode::setAttr().


The documentation for this class was generated from the following files:
Generated on Sun Jun 25 23:35:45 2006 for libdaisy by  doxygen 1.4.6