freedaisy::Discinfo Class Reference

Discinfo document class. More...

#include <discinfo.h>

Inheritance diagram for freedaisy::Discinfo:

List of all members.

Public Member Functions

 Discinfo ()
 Create an empty Discinfo object.
 Discinfo (std::string filename)
 Create a Discinfo object from an XML file.
void createDoc (std::string lang="en")
 Create the Discinfo document.
std::vector< LinkgetLinks ()
 Get the links.
void addLink (Link *lnk)
 Add a link.
void delLink (Link *lnk)
 Delete a link.
std::string getLang ()
 Get the discinfo language.
void setLang (std::string lang)
 Set the discinfo language.

Detailed Description

Discinfo document class.

Definition at line 11 of file discinfo.h.

Constructor & Destructor Documentation

freedaisy::Discinfo::Discinfo std::string  filename  )  [inline]

Create a Discinfo object from an XML file.

filename XML filename to parse

Definition at line 19 of file discinfo.h.

Member Function Documentation

void freedaisy::Discinfo::createDoc std::string  lang = "en"  ) 

Create the Discinfo document.

lang Language of the document (optional)

Definition at line 11 of file discinfo.cpp.

References freedaisy::XMLDoc::_createDoc(), freedaisy::XMLNode::addChild(), freedaisy::XMLDoc::createRootNode(), freedaisy::XMLNode::setAttr(), freedaisy::XMLNode::setContent(), and setLang().

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