tmw/src/utils/xml.cpp File Reference

#include "utils/xml.h"
#include "log.h"
#include "resources/resourcemanager.h"

Go to the source code of this file.

Namespaces

namespace  XML

Functions

int XML::getProperty (xmlNodePtr node, const char *name, int def)
 Gets an integer property from an xmlNodePtr.
double XML::getFloatProperty (xmlNodePtr node, const char *name, double def)
 Gets an floating point property from an xmlNodePtr.
std::string XML::getProperty (xmlNodePtr node, const char *name, const std::string &def)
 Gets a string property from an xmlNodePtr.
xmlNodePtr XML::findFirstChildByName (xmlNodePtr parent, const char *name)
 Finds the first child node with the given name.


Generated on Sun Apr 26 17:30:42 2009 for The Mana World by  doxygen 1.5.5