Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members

XmlProfile Class Reference

#include <xmlprofile.h>

Collaboration diagram for XmlProfile:

Collaboration graph
[legend]
List of all members.

Detailed Description

the profile manager. This class point directly to the root elements and implements an API to let the user retreive single elements and walk the xml structure

Definition at line 190 of file xmlprofile.h.

Public Member Functions

 XmlProfile (char *category, char *repository)
 the XmlProfile class constructor

 ~XmlProfile ()
 the XmlProfile class destructor

XmlErr addRootElement (XmlTag *element)
 add a new root element to the current profile

XmlTaggetRootElement (char *name)
 get a root element by its name

XmlTaggetRootElement (int index)
 get a root element by its index

XmlTaggetElement (char *path)
 get an element inside the configuration profile
  • the path (in the configuration tree) to reach the element. path is just a streing of the form : " RootElement1/ChildElement1/SubChildElement1/RequestedElement " that represent a path of element names to reach the element.


XmlErr XmlParseBuffer (char *buf)
XmlErr XmlParseFile (char *path)
XmlErr update ()
char * dumpBranch (XmlTag *rTag, unsigned int depth)
char * dumpXml ()


The documentation for this class was generated from the following files:
Generated on Mon Apr 25 12:22:41 2005 for MuSE by doxygen 1.3.4