Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

XMLTools.hpp File Reference

#include <libxml++/libxml++.h>
#include <ImLib3D/CppTools.hpp>
#include <ctype.h>

Include dependency graph for XMLTools.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ReadAttribute(p)   p=GetAttribute(node,#p,true)
#define ReadOptAttribute(p)   p=GetAttribute(node,#p,false)

Functions

string GetAttribute (xmlpp::Element *node, string prop, bool fail=false)
xmlpp::Element * Child (xmlpp::Element *parent, string name, bool fail=false)
vector< xmlpp::Element * > ChildElements (xmlpp::Node *node, const string &name="")
template<class Type>
void ReadVector (xmlpp::Element *node, string name, vector< Type > &res, bool downCase=false)
void ReadVector (xmlpp::Element *node, string name, vector< string > &res)
void ReadText (xmlpp::Element *node, string textNodeName, string &res, bool fail=false)
void RecursiveShowXMLElement (xmlpp::Element *node, int depth=0)


Detailed Description

Definition in file XMLTools.hpp.


Generated on Fri Jun 17 13:36:17 2005 for ImLib3D by  doxygen 1.4.2