ManaPlus
Data Structures | Namespaces | Macros | Functions
libxml.h File Reference

(642df39)

#include "enums/simpletypes/skiperror.h"
#include "enums/simpletypes/usevirtfs.h"
#include "utils/xml/libxml.inc"
#include "resources/resource.h"
#include <string>
#include "localconsts.h"

Go to the source code of this file.

Data Structures

class  XML::Document
 

Namespaces

 XML
 

Macros

#define XML_INCLUDE_DEFINE
 
#define for_each_xml_child_node(var, parent)   for (XmlNodePtr var = parent->xmlChildrenNode; var; var = var->next)
 

Functions

float XML::getFloatProperty (const xmlNodePtr node, const char *const name, float def)
 
double XML::getDoubleProperty (const xmlNodePtr node, const char *const name, double def)
 
int XML::getProperty (const xmlNodePtr node, const char *const name, int def)
 
int XML::getIntProperty (const xmlNodePtr node, const char *const name, int def, const int min, const int max)
 
std::string XML::getProperty (const xmlNodePtr node, const char *const name, const std::string &def)
 
std::string XML::langProperty (const xmlNodePtr node, const char *const name, const std::string &def)
 
bool XML::getBoolProperty (const xmlNodePtr node, const char *const name, const bool def)
 
xmlNodePtr XML::findFirstChildByName (const xmlNode *const parent, const char *const name)
 
void XML::initXML ()
 
void XML::cleanupXML ()
 

Macro Definition Documentation

◆ for_each_xml_child_node

#define for_each_xml_child_node (   var,
  parent 
)    for (XmlNodePtr var = parent->xmlChildrenNode; var; var = var->next)

Definition at line 160 of file libxml.h.

◆ XML_INCLUDE_DEFINE

#define XML_INCLUDE_DEFINE

Definition at line 28 of file libxml.h.