Gazebo

XMLConfig Class Reference
[Server]

#include <XMLConfig.hh>

List of all members.


Detailed Description

XML parser

Public Member Functions

 XMLConfig ()
 ~XMLConfig ()
int Load (std::string filename)
int LoadString (std::string str)
int Save (std::string filename)
XMLConfigNodeGetRootNode () const

Public Attributes

std::string filename

Constructor & Destructor Documentation

XMLConfig (  ) 

Constructor

~XMLConfig (  ) 

Destructor


Member Function Documentation

int Load ( std::string  filename  ) 

Load config from an XML file

int LoadString ( std::string  str  ) 

Load config from an XML string

int Save ( std::string  filename  ) 

Save config back into file Set filename to NULL to save back into the original file

XMLConfigNode* GetRootNode (  )  const

Get the root node


Member Data Documentation

std::string filename

File name


The documentation for this class was generated from the following file:

Last updated Aug 04 2007